-
-
Notifications
You must be signed in to change notification settings - Fork 207
Bump SQLite to 3.49.1.0
#667
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 13 commits
445c616
a968b6e
d1e3509
1e59526
b3cabc9
1b9dbcb
b558500
db962de
a1828ef
2e17531
66fbfd5
62a14b2
651e99b
91184f6
2820ace
4d4b5e5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,15 +14,17 @@ pushd sqlite-autoconf-${SQLITE_VERSION} | |
|
||
|
||
CONFIGURE_FLAGS="--build=${BUILD_TRIPLE} --host=${TARGET_TRIPLE}" | ||
CONFIGURE_FLAGS="${CONFIGURE_FLAGS} --prefix /tools/deps --disable-shared" | ||
CONFIGURE_FLAGS="${CONFIGURE_FLAGS} --prefix=/tools/deps --disable-shared" | ||
|
||
if [ "${TARGET_TRIPLE}" = "aarch64-apple-ios" ]; then | ||
CONFIGURE_FLAGS="${CONFIGURE_FLAGS} ac_cv_search_system=no" | ||
elif [ "${TARGET_TRIPLE}" = "x86_64-apple-ios" ]; then | ||
CONFIGURE_FLAGS="${CONFIGURE_FLAGS} ac_cv_search_system=no" | ||
fi | ||
|
||
CFLAGS="${EXTRA_TARGET_CFLAGS} -DSQLITE_ENABLE_DBSTAT_VTAB -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS3_TOKENIZER -fPIC" CPPFLAGS="${EXTRA_TARGET_CFLAGS} -fPIC" LDFLAGS="${EXTRA_TARGET_LDFLAGS}" ./configure ${CONFIGURE_FLAGS} | ||
CC_FOR_BUILD="${HOST_CC}" CFLAGS="${EXTRA_TARGET_CFLAGS} -DSQLITE_ENABLE_DBSTAT_VTAB -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS3_TOKENIZER -fPIC" CPPFLAGS="${EXTRA_TARGET_CFLAGS} -fPIC" LDFLAGS="${EXTRA_TARGET_LDFLAGS}" ./configure ${CONFIGURE_FLAGS} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The autosetup script use There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not an actual concern but |
||
|
||
make -j ${NUM_CPUS} | ||
make -j ${NUM_CPUS} install DESTDIR=${ROOT}/out | ||
make -j ${NUM_CPUS} libsqlite3.a | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
make install-lib DESTDIR=${ROOT}/out | ||
make install-headers DESTDIR=${ROOT}/out | ||
make install-pc DESTDIR=${ROOT}/out |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,6 +59,14 @@ RUN apt-get install \ | |
gcc-mipsel-linux-gnu \ | ||
gcc-powerpc64le-linux-gnu \ | ||
gcc-s390x-linux-gnu \ | ||
g++-aarch64-linux-gnu \ | ||
g++-arm-linux-gnueabi \ | ||
g++-arm-linux-gnueabihf \ | ||
g++-mips-linux-gnu \ | ||
g++-mips64el-linux-gnuabi64 \ | ||
g++-mipsel-linux-gnu \ | ||
g++-powerpc64le-linux-gnu \ | ||
g++-s390x-linux-gnu \ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We need a C++ compiler for this build now. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See #667 (comment) |
||
libc6-dev-arm64-cross \ | ||
libc6-dev-armel-cross \ | ||
libc6-dev-armhf-cross \ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a syntax difference between autosetup and autoconf