From: Mathieu Baudier Date: Thu, 15 Aug 2024 16:21:15 +0000 (+0200) Subject: Introduce llama4j X-Git-Url: http://git.argeo.org/?a=commitdiff_plain;h=8aca8f14a57e20962f7b6dfb9b926ff8d1ae16a9;p=gpl%2Fargeo-tp.git Introduce llama4j --- diff --git a/rebuild/org.argeo.tp.ml/Makefile b/rebuild/org.argeo.tp.ml/Makefile index d1268db..41203c5 100644 --- a/rebuild/org.argeo.tp.ml/Makefile +++ b/rebuild/org.argeo.tp.ml/Makefile @@ -9,7 +9,10 @@ A2_CATEGORY = org.argeo.tp.ml JLLAMA_BRANCH=3.3 JLLAMA_VERSION=$(JLLAMA_BRANCH).0 -all: retrieve-jllama osgi +LLAMA3_COMMIT=5f602500beb593dce2726df7e2dd08b0803aa86b +LLAMA3_VERSION=0.1.0 + +all: retrieve-jllama retrieve-llama3 osgi mkdir -p $(SDK_BUILD_BASE)/a2/$(TARGET_ARCH_CATEGORY_PREFIX)/$(A2_CATEGORY) mv $(SDK_BUILD_BASE)/a2/$(A2_CATEGORY)/de.kherud.llama.$(JLLAMA_BRANCH).jar $(SDK_BUILD_BASE)/a2/$(TARGET_ARCH_CATEGORY_PREFIX)/$(A2_CATEGORY) @@ -30,8 +33,17 @@ retrieve-jllama: # diff -crB src/jllama/src/main/java de.kherud.llama/src > remove-jetbrain-annotations.patch patch -p0 < remove-jetbrain-annotations.patch +retrieve-llama3: SRC_DIR=com.llama4j/src/com/llama4j +retrieve-llama3: + rm -rf $(SRC_DIR) + mkdir -p $(SRC_DIR) + git clone https://github.com/mukel/llama3.java.git $(SRC_DIR) + git -C $(SRC_DIR) checkout $(LLAMA3_COMMIT) + rm -rf $(SRC_DIR)/.git + BUNDLES = \ de.kherud.llama \ +com.llama4j \ clean: rm -rf $(BUILD_BASE) diff --git a/rebuild/org.argeo.tp.ml/com.llama4j/.gitignore b/rebuild/org.argeo.tp.ml/com.llama4j/.gitignore new file mode 100644 index 0000000..4f00cd9 --- /dev/null +++ b/rebuild/org.argeo.tp.ml/com.llama4j/.gitignore @@ -0,0 +1 @@ +/src/ diff --git a/rebuild/org.argeo.tp.ml/com.llama4j/META-INF/.gitignore b/rebuild/org.argeo.tp.ml/com.llama4j/META-INF/.gitignore new file mode 100644 index 0000000..4854a41 --- /dev/null +++ b/rebuild/org.argeo.tp.ml/com.llama4j/META-INF/.gitignore @@ -0,0 +1 @@ +/MANIFEST.MF diff --git a/rebuild/org.argeo.tp.ml/com.llama4j/bnd.bnd b/rebuild/org.argeo.tp.ml/com.llama4j/bnd.bnd new file mode 100644 index 0000000..db2939f --- /dev/null +++ b/rebuild/org.argeo.tp.ml/com.llama4j/bnd.bnd @@ -0,0 +1,4 @@ + +major: 0 +minor: 1 +micro: 0