-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
37 changed files
with
188 additions
and
38 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
From 403bb8b932d1a1e0df9a35edc2c1475eecd3297d Mon Sep 17 00:00:00 2001 | ||
From: Matthew Nelson <[email protected]> | ||
Date: Fri, 13 Oct 2023 07:09:23 -0400 | ||
Subject: [PATCH 01/10] Add user/group ids to docker build | ||
Subject: [PATCH 01/11] Add user/group ids to docker build | ||
|
||
--- | ||
Makefile | 17 ++++++++++------- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
From 9c68f6c65e0f55134b94d2a7067565d297084ef3 Mon Sep 17 00:00:00 2001 | ||
From: Matthew Nelson <[email protected]> | ||
Date: Fri, 13 Oct 2023 07:09:39 -0400 | ||
Subject: [PATCH 02/10] Disable double-quoted strings | ||
Subject: [PATCH 02/11] Disable double-quoted strings | ||
|
||
--- | ||
Makefile | 1 + | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
From c2ebdb604c65c9722402242c6527f565a84c942a Mon Sep 17 00:00:00 2001 | ||
From: Matthew Nelson <[email protected]> | ||
Date: Fri, 13 Oct 2023 07:09:56 -0400 | ||
Subject: [PATCH 03/10] Remove JDBC extensions | ||
Subject: [PATCH 03/11] Remove JDBC extensions | ||
|
||
--- | ||
Makefile | 12 +----------- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
From 8925e43f76b613ebdb3cc80f5b77b22fd8045be3 Mon Sep 17 00:00:00 2001 | ||
From: Matthew Nelson <[email protected]> | ||
Date: Fri, 13 Oct 2023 07:10:10 -0400 | ||
Subject: [PATCH 04/10] Delete native libs | ||
Subject: [PATCH 04/11] Delete native libs | ||
|
||
--- | ||
.../native/FreeBSD/aarch64/libsqlitejdbc.so | Bin 1142344 -> 0 bytes | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
From 04bbfe2f3caeeb3b5ec8199c4d3715ff25e8957d Mon Sep 17 00:00:00 2001 | ||
From: Matthew Nelson <[email protected]> | ||
Date: Fri, 13 Oct 2023 07:10:29 -0400 | ||
Subject: [PATCH 05/10] Add Linux-Musl definitions | ||
Subject: [PATCH 05/11] Add Linux-Musl definitions | ||
|
||
--- | ||
Makefile.common | 23 ++++++++++++++++++++++- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
From 534056672ea4ac1fb64c291145a4a41eab82fec2 Mon Sep 17 00:00:00 2001 | ||
From: Matthew Nelson <[email protected]> | ||
Date: Fri, 13 Oct 2023 07:10:57 -0400 | ||
Subject: [PATCH 06/10] Disable win-arm/freebsd targets | ||
Subject: [PATCH 06/11] Disable win-arm/freebsd targets | ||
|
||
--- | ||
Makefile | 2 +- | ||
|
2 changes: 1 addition & 1 deletion
2
external/patches/0007-Disable-mac-shared-lib-adhoc-signing.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
From 50d655b691fc16b9942664f0f181a7b5d8b82e94 Mon Sep 17 00:00:00 2001 | ||
From: Matthew Nelson <[email protected]> | ||
Date: Fri, 13 Oct 2023 07:11:28 -0400 | ||
Subject: [PATCH 07/10] Disable mac shared lib adhoc signing | ||
Subject: [PATCH 07/11] Disable mac shared lib adhoc signing | ||
|
||
--- | ||
Makefile | 2 +- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
From 4347e94e4c4ebc4c7ff8013909762ad3a067788b Mon Sep 17 00:00:00 2001 | ||
From: Matthew Nelson <[email protected]> | ||
Date: Fri, 13 Oct 2023 07:11:47 -0400 | ||
Subject: [PATCH 08/10] Pin dockcross image versions | ||
Subject: [PATCH 08/11] Pin dockcross image versions | ||
|
||
--- | ||
docker/dockcross-android-arm | 2 +- | ||
|
2 changes: 1 addition & 1 deletion
2
external/patches/0009-Use-Ubuntu-16.04-to-build-linux-32-64.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
From 16defa1c61e5b5c9c4f4a48eb66fd20aabdaa865 Mon Sep 17 00:00:00 2001 | ||
From: Matthew Nelson <[email protected]> | ||
Date: Fri, 13 Oct 2023 07:12:09 -0400 | ||
Subject: [PATCH 09/10] Use Ubuntu 16.04 to build linux 32/64 | ||
Subject: [PATCH 09/11] Use Ubuntu 16.04 to build linux 32/64 | ||
|
||
--- | ||
Makefile | 4 ++-- | ||
|
2 changes: 1 addition & 1 deletion
2
external/patches/0010-Configure-build-to-use-SQLite3MultipleCiphers.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
From f76d3e300f5914edc20b6d8512cce8f026281aa9 Mon Sep 17 00:00:00 2001 | ||
From: Matthew Nelson <[email protected]> | ||
Date: Fri, 13 Oct 2023 07:12:33 -0400 | ||
Subject: [PATCH 10/10] Configure build to use SQLite3MultipleCiphers | ||
Subject: [PATCH 10/11] Configure build to use SQLite3MultipleCiphers | ||
|
||
--- | ||
Makefile | 22 +++++++-------- | ||
|
178 changes: 178 additions & 0 deletions
178
external/patches/0011-Use-build-env-where-possible.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,178 @@ | ||
From 705c291df710cc0b284f65218d547e55c9ed1012 Mon Sep 17 00:00:00 2001 | ||
From: Matthew Nelson <[email protected]> | ||
Date: Fri, 1 Dec 2023 12:49:06 -0500 | ||
Subject: [PATCH 11/11] Use build-env where possible | ||
|
||
--- | ||
Makefile | 25 +++++++++++++------------ | ||
Makefile.common | 35 ++++++++++++++--------------------- | ||
2 files changed, 27 insertions(+), 33 deletions(-) | ||
|
||
diff --git a/Makefile b/Makefile | ||
index a052a06..f497d3d 100644 | ||
--- a/Makefile | ||
+++ b/Makefile | ||
@@ -21,6 +21,7 @@ SQLITE_ARCHIVE:=$(TARGET)/$(sqlite)-amal.zip | ||
SQLITE_UNPACKED:=$(TARGET)/sqlite-unpack.log | ||
SQLITE_SOURCE?=$(TARGET)/$(SQLITE_AMAL_PREFIX) | ||
SQLITE_HEADER?=$(SQLITE_SOURCE)/sqlite3mc_amalgamation.h | ||
+TAG_BUILD_ENV=0.1.0 | ||
ifneq ($(SQLITE_SOURCE),$(TARGET)/$(SQLITE_AMAL_PREFIX)) | ||
created := $(shell touch $(SQLITE_UNPACKED)) | ||
endif | ||
@@ -124,10 +125,10 @@ $(NATIVE_DLL): $(SQLITE_OUT)/$(LIBNAME) | ||
cp $< $(NATIVE_TARGET_DIR)/$(LIBNAME) | ||
|
||
win32: $(SQLITE_UNPACKED) jni-header | ||
- ./docker/dockcross-windows-x86 -a $(DOCKER_RUN_OPTS) bash -c 'make clean-native native CROSS_PREFIX=i686-w64-mingw32.static- OS_NAME=Windows OS_ARCH=x86' | ||
+ docker run $(DOCKER_RUN_OPTS) -u $(U_ID):$(G_ID) -v $$PWD:/work 05nelsonm/build-env.mingw.x86:$(TAG_BUILD_ENV) bash -c 'make clean-native native CROSS_PREFIX=$$CROSS_TRIPLE- OS_NAME=Windows OS_ARCH=x86' | ||
|
||
win64: $(SQLITE_UNPACKED) jni-header | ||
- ./docker/dockcross-windows-x64 -a $(DOCKER_RUN_OPTS) bash -c 'make clean-native native CROSS_PREFIX=x86_64-w64-mingw32.static- OS_NAME=Windows OS_ARCH=x86_64' | ||
+ docker run $(DOCKER_RUN_OPTS) -u $(U_ID):$(G_ID) -v $$PWD:/work 05nelsonm/build-env.mingw.x86_64:$(TAG_BUILD_ENV) bash -c 'make clean-native native CROSS_PREFIX=$$CROSS_TRIPLE- OS_NAME=Windows OS_ARCH=x86_64' | ||
|
||
win-armv7: $(SQLITE_UNPACKED) jni-header | ||
./docker/dockcross-windows-armv7 -a $(DOCKER_RUN_OPTS) bash -c 'make clean-native native CROSS_PREFIX=armv7-w64-mingw32- OS_NAME=Windows OS_ARCH=armv7' | ||
@@ -136,10 +137,10 @@ win-arm64: $(SQLITE_UNPACKED) jni-header | ||
./docker/dockcross-windows-arm64 -a $(DOCKER_RUN_OPTS) bash -c 'make clean-native native CROSS_PREFIX=aarch64-w64-mingw32- OS_NAME=Windows OS_ARCH=aarch64' | ||
|
||
linux32: $(SQLITE_UNPACKED) jni-header | ||
- docker run $(DOCKER_RUN_OPTS) -u $(U_ID):$(G_ID) -v $$PWD:/work toxicity-io/ubuntu16-linux-x86 bash -c 'make clean-native native OS_NAME=Linux OS_ARCH=x86' | ||
+ docker run $(DOCKER_RUN_OPTS) -u $(U_ID):$(G_ID) -v $$PWD:/work 05nelsonm/build-env.linux-libc.x86:$(TAG_BUILD_ENV) bash -c 'make clean-native native CROSS_PREFIX=$$CROSS_TRIPLE- OS_NAME=Linux OS_ARCH=x86' | ||
|
||
linux64: $(SQLITE_UNPACKED) jni-header | ||
- docker run $(DOCKER_RUN_OPTS) -u $(U_ID):$(G_ID) -v $$PWD:/work toxicity-io/ubuntu16-linux-x86_64 bash -c 'make clean-native native OS_NAME=Linux OS_ARCH=x86_64' | ||
+ docker run $(DOCKER_RUN_OPTS) -u $(U_ID):$(G_ID) -v $$PWD:/work 05nelsonm/build-env.linux-libc.x86_64:$(TAG_BUILD_ENV) bash -c 'make clean-native native CROSS_PREFIX=$$CROSS_TRIPLE- OS_NAME=Linux OS_ARCH=x86_64' | ||
|
||
freebsd32: $(SQLITE_UNPACKED) jni-header | ||
docker run $(DOCKER_RUN_OPTS) -v $$PWD:/workdir empterdose/freebsd-cross-build:9.3 sh -c 'apk add bash; apk add openjdk8; apk add perl; make clean-native native OS_NAME=FreeBSD OS_ARCH=x86 CROSS_PREFIX=i386-freebsd9-' | ||
@@ -166,31 +167,31 @@ linux-armv6: $(SQLITE_UNPACKED) jni-header | ||
./docker/dockcross-armv6-lts -a $(DOCKER_RUN_OPTS) bash -c 'make clean-native native CROSS_PREFIX=armv6-unknown-linux-gnueabihf- OS_NAME=Linux OS_ARCH=armv6' | ||
|
||
linux-armv7: $(SQLITE_UNPACKED) jni-header | ||
- ./docker/dockcross-armv7a-lts -a $(DOCKER_RUN_OPTS) bash -c 'make clean-native native CROSS_PREFIX=arm-cortexa8_neon-linux-gnueabihf- OS_NAME=Linux OS_ARCH=armv7' | ||
+ docker run $(DOCKER_RUN_OPTS) -u $(U_ID):$(G_ID) -v $$PWD:/work 05nelsonm/build-env.linux-libc.armv7a:$(TAG_BUILD_ENV) bash -c 'make clean-native native CROSS_PREFIX=$$CROSS_TRIPLE- OS_NAME=Linux OS_ARCH=armv7' | ||
|
||
linux-arm64: $(SQLITE_UNPACKED) jni-header | ||
- ./docker/dockcross-arm64-lts -a $(DOCKER_RUN_OPTS) bash -c 'make clean-native native CROSS_PREFIX=aarch64-unknown-linux-gnu- OS_NAME=Linux OS_ARCH=aarch64' | ||
+ docker run $(DOCKER_RUN_OPTS) -u $(U_ID):$(G_ID) -v $$PWD:/work 05nelsonm/build-env.linux-libc.aarch64:$(TAG_BUILD_ENV) bash -c 'make clean-native native CROSS_PREFIX=$$CROSS_TRIPLE- OS_NAME=Linux OS_ARCH=aarch64' | ||
|
||
linux-android-arm: $(SQLITE_UNPACKED) jni-header | ||
- ./docker/dockcross-android-arm -a $(DOCKER_RUN_OPTS) bash -c 'make clean-native native CROSS_PREFIX=/usr/arm-linux-androideabi/bin/arm-linux-androideabi- OS_NAME=Linux-Android OS_ARCH=arm' | ||
+ docker run $(DOCKER_RUN_OPTS) -u $(U_ID):$(G_ID) -v $$PWD:/work 05nelsonm/build-env.android.armv7a:$(TAG_BUILD_ENV) bash -c 'make clean-native native CROSS_PREFIX=$$CROSS_TRIPLE- OS_NAME=Linux-Android OS_ARCH=arm' | ||
|
||
linux-android-arm64: $(SQLITE_UNPACKED) jni-header | ||
- ./docker/dockcross-android-arm64 -a $(DOCKER_RUN_OPTS) bash -c 'make clean-native native CROSS_PREFIX=/usr/aarch64-linux-android/bin/aarch64-linux-android- OS_NAME=Linux-Android OS_ARCH=aarch64' | ||
+ docker run $(DOCKER_RUN_OPTS) -u $(U_ID):$(G_ID) -v $$PWD:/work 05nelsonm/build-env.android.aarch64:$(TAG_BUILD_ENV) bash -c 'make clean-native native CROSS_PREFIX=$$CROSS_TRIPLE- OS_NAME=Linux-Android OS_ARCH=aarch64' | ||
|
||
linux-android-x86: $(SQLITE_UNPACKED) jni-header | ||
- ./docker/dockcross-android-x86 -a $(DOCKER_RUN_OPTS) bash -c 'make clean-native native CROSS_PREFIX=/usr/i686-linux-android/bin/i686-linux-android- OS_NAME=Linux-Android OS_ARCH=x86' | ||
+ docker run $(DOCKER_RUN_OPTS) -u $(U_ID):$(G_ID) -v $$PWD:/work 05nelsonm/build-env.android.x86:$(TAG_BUILD_ENV) bash -c 'make clean-native native CROSS_PREFIX=$$CROSS_TRIPLE- OS_NAME=Linux-Android OS_ARCH=x86' | ||
|
||
linux-android-x64: $(SQLITE_UNPACKED) jni-header | ||
- ./docker/dockcross-android-x86_64 -a $(DOCKER_RUN_OPTS) bash -c 'make clean-native native CROSS_PREFIX=/usr/x86_64-linux-android/bin/x86_64-linux-android- OS_NAME=Linux-Android OS_ARCH=x86_64' | ||
+ docker run $(DOCKER_RUN_OPTS) -u $(U_ID):$(G_ID) -v $$PWD:/work 05nelsonm/build-env.android.x86_64:$(TAG_BUILD_ENV) bash -c 'make clean-native native CROSS_PREFIX=$$CROSS_TRIPLE- OS_NAME=Linux-Android OS_ARCH=x86_64' | ||
|
||
linux-ppc64: $(SQLITE_UNPACKED) jni-header | ||
./docker/dockcross-ppc64 -a $(DOCKER_RUN_OPTS) bash -c 'make clean-native native CROSS_PREFIX=powerpc64le-unknown-linux-gnu- OS_NAME=Linux OS_ARCH=ppc64' | ||
|
||
mac64: $(SQLITE_UNPACKED) jni-header | ||
- docker run $(DOCKER_RUN_OPTS) -u $(U_ID):$(G_ID) -v $$PWD:/workdir -e CROSS_TRIPLE=x86_64-apple-darwin multiarch/crossbuild make clean-native native OS_NAME=Mac OS_ARCH=x86_64 | ||
+ docker run $(DOCKER_RUN_OPTS) -u $(U_ID):$(G_ID) -v $$PWD:/work 05nelsonm/build-env.macos.x86_64:$(TAG_BUILD_ENV) bash -c 'make clean-native native CROSS_PREFIX=$$CROSS_TRIPLE- OS_NAME=Mac OS_ARCH=x86_64' | ||
|
||
mac-arm64: $(SQLITE_UNPACKED) jni-header | ||
- docker run $(DOCKER_RUN_OPTS) -u $(U_ID):$(G_ID) -v $$PWD:/workdir -e CROSS_TRIPLE=aarch64-apple-darwin gotson/crossbuild make clean-native native OS_NAME=Mac OS_ARCH=aarch64 CROSS_PREFIX="/usr/osxcross/bin/aarch64-apple-darwin20.4-" | ||
+ docker run $(DOCKER_RUN_OPTS) -u $(U_ID):$(G_ID) -v $$PWD:/work 05nelsonm/build-env.macos.aarch64:$(TAG_BUILD_ENV) bash -c 'make clean-native native CROSS_PREFIX=$$CROSS_TRIPLE- OS_NAME=Mac OS_ARCH=aarch64' | ||
|
||
# deprecated | ||
mac32: $(SQLITE_UNPACKED) jni-header | ||
diff --git a/Makefile.common b/Makefile.common | ||
index 9863d9a..346dc86 100644 | ||
--- a/Makefile.common | ||
+++ b/Makefile.common | ||
@@ -128,29 +128,29 @@ Linux-armv7_LIBNAME := libsqlitejdbc.so | ||
Linux-armv7_SQLITE_FLAGS := | ||
|
||
Linux-Android-arm_CC := $(CROSS_PREFIX)clang | ||
-Linux-Android-arm_STRIP := $(CROSS_ROOT)/bin/llvm-strip | ||
-Linux-Android-arm_CCFLAGS := -I$(JAVA_HOME)/include -Ilib/inc_linux -I$(CROSS_ROOT)/sysroot/usr/include -Os -fPIC -fvisibility=hidden -fPIE -pie -lm -lc -landroid -ldl -llog | ||
+Linux-Android-arm_STRIP := $(CROSS_PREFIX)strip | ||
+Linux-Android-arm_CCFLAGS := -I$(JAVA_HOME)/include -Ilib/inc_linux -I$(PATH_PREBUILT)/sysroot/usr/include -Os -fPIC -fvisibility=hidden -fPIE -pie -lm -lc -landroid -ldl -llog | ||
Linux-Android-arm_LINKFLAGS := $(Default_LINKFLAGS) -Wl,-soname,libsqlitejdbc.so | ||
Linux-Android-arm_LIBNAME := libsqlitejdbc.so | ||
Linux-Android-arm_SQLITE_FLAGS := | ||
|
||
Linux-Android-aarch64_CC := $(CROSS_PREFIX)clang | ||
-Linux-Android-aarch64_STRIP := $(CROSS_ROOT)/bin/llvm-strip | ||
-Linux-Android-aarch64_CCFLAGS := -I$(JAVA_HOME)/include -Ilib/inc_linux -I$(CROSS_ROOT)/sysroot/usr/include -Os -fPIC -fvisibility=hidden -fPIE -pie -lm -lc -landroid -ldl -llog | ||
+Linux-Android-aarch64_STRIP := $(CROSS_PREFIX)strip | ||
+Linux-Android-aarch64_CCFLAGS := -I$(JAVA_HOME)/include -Ilib/inc_linux -I$(PATH_PREBUILT)/sysroot/usr/include -Os -fPIC -fvisibility=hidden -fPIE -pie -lm -lc -landroid -ldl -llog -march=armv8-a+crypto -mfpu=crypto-neon-fp-armv8 | ||
Linux-Android-aarch64_LINKFLAGS := $(Default_LINKFLAGS) -Wl,-soname,libsqlitejdbc.so | ||
Linux-Android-aarch64_LIBNAME := libsqlitejdbc.so | ||
Linux-Android-aarch64_SQLITE_FLAGS := | ||
|
||
Linux-Android-x86_CC := $(CROSS_PREFIX)clang | ||
-Linux-Android-x86_STRIP := $(CROSS_ROOT)/bin/llvm-strip | ||
-Linux-Android-x86_CCFLAGS := -I$(JAVA_HOME)/include -Ilib/inc_linux -I$(CROSS_ROOT)/sysroot/usr/include -Os -fPIC -fvisibility=hidden -fPIE -pie -lm -lc -landroid -ldl -llog -msse4.2 -maes | ||
+Linux-Android-x86_STRIP := $(CROSS_PREFIX)strip | ||
+Linux-Android-x86_CCFLAGS := -I$(JAVA_HOME)/include -Ilib/inc_linux -I$(PATH_PREBUILT)/sysroot/usr/include -Os -fPIC -fvisibility=hidden -fPIE -pie -lm -lc -landroid -ldl -llog -msse4.2 -maes | ||
Linux-Android-x86_LINKFLAGS := $(Default_LINKFLAGS) -Wl,-soname,libsqlitejdbc.so | ||
Linux-Android-x86_LIBNAME := libsqlitejdbc.so | ||
Linux-Android-x86_SQLITE_FLAGS := | ||
|
||
Linux-Android-x86_64_CC := $(CROSS_PREFIX)clang | ||
-Linux-Android-x86_64_STRIP := $(CROSS_ROOT)/bin/llvm-strip | ||
-Linux-Android-x86_64_CCFLAGS := -I$(JAVA_HOME)/include -Ilib/inc_linux -I$(CROSS_ROOT)/sysroot/usr/include -Os -fPIC -fvisibility=hidden -fPIE -pie -lm -lc -landroid -ldl -llog -msse4.2 -maes | ||
+Linux-Android-x86_64_STRIP := $(CROSS_PREFIX)strip | ||
+Linux-Android-x86_64_CCFLAGS := -I$(JAVA_HOME)/include -Ilib/inc_linux -I$(PATH_PREBUILT)/sysroot/usr/include -Os -fPIC -fvisibility=hidden -fPIE -pie -lm -lc -landroid -ldl -llog -msse4.2 -maes | ||
Linux-Android-x86_64_LINKFLAGS := $(Default_LINKFLAGS) -Wl,-soname,libsqlitejdbc.so | ||
Linux-Android-x86_64_LIBNAME := libsqlitejdbc.so | ||
Linux-Android-x86_64_SQLITE_FLAGS := | ||
@@ -218,23 +218,16 @@ HPUX-ia64_32_LINKFLAGS := -b | ||
HPUX-ia64_32_LIBNAME := libsqlitejdbc.so | ||
HPUX-ia64_32_SQLITE_FLAGS := | ||
|
||
-Mac-x86_64_CC := gcc -arch $(OS_ARCH) | ||
-Mac-x86_64_STRIP := strip -x | ||
-MAC_SDK := /Developer/SDKs/MacOSX10.10.sdk | ||
-ifeq ($(wildcard MAC_SDK),) | ||
- MAC_SDK := /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk | ||
-endif | ||
-Mac-x86_64_CCFLAGS := -I$(MAC_SDK)/System/Library/Frameworks/JavaVM.framework/Headers -Ilib/inc_mac -Os -fPIC -mmacosx-version-min=10.7 -fvisibility=hidden -Wno-implicit-function-declaration -msse4.2 -maes | ||
+Mac-x86_64_CC := $(CROSS_PREFIX)clang | ||
+Mac-x86_64_STRIP := $(CROSS_PREFIX)strip -x | ||
+Mac-x86_64_CCFLAGS := -I$(PATH_SDK)/System/Library/Frameworks/JavaVM.framework/Headers -Ilib/inc_mac -Os -fPIC -fvisibility=hidden -Wno-implicit-function-declaration -msse4.2 -maes | ||
Mac-x86_64_LINKFLAGS := -dynamiclib -framework Security | ||
Mac-x86_64_LIBNAME := libsqlitejdbc.dylib | ||
Mac-x86_64_SQLITE_FLAGS := | ||
|
||
-# Use a CROSS_PREFIX as the cross-triple clang is not available in crossbuild, see https://github.com/multiarch/crossbuild/blob/ad79cc84b6fb3fb1d09bc4a78719ef26f23bab85/Dockerfile#L134 | ||
-# When running on a M1 mac, CROSS_PREFIX will be empty, and 'make native' can still build | ||
Mac-aarch64_CC := $(CROSS_PREFIX)clang | ||
Mac-aarch64_STRIP := $(CROSS_PREFIX)strip -x | ||
-MAC_SDK := /usr/osxcross/SDK/MacOSX11.3.sdk | ||
-Mac-aarch64_CCFLAGS := -I$(MAC_SDK)/System/Library/Frameworks/JavaVM.framework/Headers -Ilib/inc_mac -Os -fPIC -mmacosx-version-min=10.9 -fvisibility=hidden -Wno-implicit-function-declaration | ||
+Mac-aarch64_CCFLAGS := -I$(PATH_SDK)/System/Library/Frameworks/JavaVM.framework/Headers -Ilib/inc_mac -Os -fPIC -fvisibility=hidden -Wno-implicit-function-declaration | ||
Mac-aarch64_LINKFLAGS := -dynamiclib -framework Security | ||
Mac-aarch64_LIBNAME := libsqlitejdbc.dylib | ||
Mac-aarch64_SQLITE_FLAGS := | ||
@@ -242,14 +235,14 @@ Mac-aarch64_SQLITE_FLAGS := | ||
Windows-x86_CC := $(CROSS_PREFIX)gcc | ||
Windows-x86_STRIP := $(CROSS_PREFIX)strip | ||
Windows-x86_CCFLAGS := -D_JNI_IMPLEMENTATION_ -Ilib/inc_win -Os -msse4.2 -maes | ||
-Windows-x86_LINKFLAGS := -Wl,--kill-at -shared -static-libgcc | ||
+Windows-x86_LINKFLAGS := -Wl,--kill-at -Wl,--no-insert-timestamp -shared -static-libgcc | ||
Windows-x86_LIBNAME := sqlitejdbc.dll | ||
Windows-x86_SQLITE_FLAGS := | ||
|
||
Windows-x86_64_CC := $(CROSS_PREFIX)gcc | ||
Windows-x86_64_STRIP := $(CROSS_PREFIX)strip | ||
Windows-x86_64_CCFLAGS := -D_JNI_IMPLEMENTATION_ -Ilib/inc_win -Os -msse4.2 -maes | ||
-Windows-x86_64_LINKFLAGS := -Wl,--kill-at -shared -static-libgcc -lquadmath | ||
+Windows-x86_64_LINKFLAGS := -Wl,--kill-at -Wl,--no-insert-timestamp -shared -static-libgcc -lquadmath | ||
Windows-x86_64_LIBNAME := sqlitejdbc.dll | ||
Windows-x86_64_SQLITE_FLAGS := | ||
|
||
-- | ||
2.34.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+35.2 KB
(100%)
...oid-unit-test/src/main/resources/org/sqlite/native/Linux-Android/aarch64/libsqlitejdbc.so
Binary file not shown.
Binary file modified
BIN
-5.95 KB
(99%)
...android-unit-test/src/main/resources/org/sqlite/native/Linux-Android/arm/libsqlitejdbc.so
Binary file not shown.
Binary file modified
BIN
-115 KB
(92%)
...android-unit-test/src/main/resources/org/sqlite/native/Linux-Android/x86/libsqlitejdbc.so
Binary file not shown.
Binary file modified
BIN
-7.72 KB
(99%)
...roid-unit-test/src/main/resources/org/sqlite/native/Linux-Android/x86_64/libsqlitejdbc.so
Binary file not shown.
Binary file modified
BIN
-91.9 KB
(92%)
...ary/android-unit-test/src/main/resources/org/sqlite/native/Linux/aarch64/libsqlitejdbc.so
Binary file not shown.
Binary file modified
BIN
-268 KB
(73%)
library/android-unit-test/src/main/resources/org/sqlite/native/Linux/armv7/libsqlitejdbc.so
Binary file not shown.
Binary file modified
BIN
+145 KB
(110%)
...ry/android-unit-test/src/main/resources/org/sqlite/native/Mac/aarch64/libsqlitejdbc.dylib
Binary file not shown.
Binary file modified
BIN
-157 KB
(88%)
...ary/android-unit-test/src/main/resources/org/sqlite/native/Mac/x86_64/libsqlitejdbc.dylib
Binary file not shown.
Binary file modified
BIN
+9.5 KB
(100%)
library/android-unit-test/src/main/resources/org/sqlite/native/Windows/x86/sqlitejdbc.dll
Binary file not shown.
Binary file modified
BIN
+10 KB
(100%)
library/android-unit-test/src/main/resources/org/sqlite/native/Windows/x86_64/sqlitejdbc.dll
Binary file not shown.
Binary file modified
BIN
+35.2 KB
(100%)
library/driver/src/androidMain/jniLibs/arm64-v8a/libsqlitejdbc.so
Binary file not shown.
Binary file modified
BIN
-5.95 KB
(99%)
library/driver/src/androidMain/jniLibs/armeabi-v7a/libsqlitejdbc.so
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
-7.72 KB
(99%)
library/driver/src/androidMain/jniLibs/x86_64/libsqlitejdbc.so
Binary file not shown.