Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Add better detection of the right shared library name for the POSIX sub-platform. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
05063e542616c0ce42a71e3ede7efd59 |
User & Date: | mistachkin 2016-03-24 23:10:35 |
Context
2016-03-24
| ||
23:57 | Modify the core managed assembly to always omit the '.dll' suffix. For the Mono related scripts, always use interop assembly naming. For the POSIX build scripts, always adhere to the Mono DLL naming convention. check-in: 421eadd049 user: mistachkin tags: trunk | |
23:10 | Add better detection of the right shared library name for the POSIX sub-platform. check-in: 05063e5426 user: mistachkin tags: trunk | |
22:56 | When building the managed binaries for Mono, only build those targeting the CLR v4. check-in: 9966be7640 user: mistachkin tags: trunk | |
Changes
Changes to Setup/compile-interop-assembly-debug.sh.
1 1 #!/bin/bash 2 2 3 3 scriptdir=`dirname "$BASH_SOURCE"` 4 + 5 +if [[ "$OSTYPE" == "darwin"* ]]; then 6 + libname=libsqlite3.dylib 7 +else 8 + libname=libsqlite3.so.0 9 +fi 4 10 5 11 pushd "$scriptdir/../SQLite.Interop/src/generic" 6 -gcc -g -fPIC -shared -o libsqlite3.so.0 interop.c -I../core -DSQLITE_THREADSAFE=1 -DSQLITE_USE_URI=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_ENABLE_STAT4=1 -DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_LOAD_EXTENSION=1 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SOUNDEX=1 -DSQLITE_ENABLE_MEMORY_MANAGEMENT=1 -DSQLITE_ENABLE_API_ARMOR=1 -DSQLITE_ENABLE_DBSTAT_VTAB=1 -DSQLITE_DEBUG=1 -DSQLITE_MEMDEBUG=1 -DSQLITE_ENABLE_EXPENSIVE_ASSERT=1 -DINTEROP_LOG=1 -DINTEROP_TEST_EXTENSION=1 -DINTEROP_EXTENSION_FUNCTIONS=1 -DINTEROP_VIRTUAL_TABLE=1 -DINTEROP_FTS5_EXTENSION=1 -DINTEROP_PERCENTILE_EXTENSION=1 -DINTEROP_TOTYPE_EXTENSION=1 -DINTEROP_REGEXP_EXTENSION=1 -DINTEROP_JSON1_EXTENSION=1 -lm -lpthread -ldl 7 -mv libsqlite3.so.0 ../../../bin/2013/Debug/bin 12 +gcc -g -fPIC -shared -o $libname interop.c -I../core -DSQLITE_THREADSAFE=1 -DSQLITE_USE_URI=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_ENABLE_STAT4=1 -DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_LOAD_EXTENSION=1 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SOUNDEX=1 -DSQLITE_ENABLE_MEMORY_MANAGEMENT=1 -DSQLITE_ENABLE_API_ARMOR=1 -DSQLITE_ENABLE_DBSTAT_VTAB=1 -DSQLITE_DEBUG=1 -DSQLITE_MEMDEBUG=1 -DSQLITE_ENABLE_EXPENSIVE_ASSERT=1 -DINTEROP_LOG=1 -DINTEROP_TEST_EXTENSION=1 -DINTEROP_EXTENSION_FUNCTIONS=1 -DINTEROP_VIRTUAL_TABLE=1 -DINTEROP_FTS5_EXTENSION=1 -DINTEROP_PERCENTILE_EXTENSION=1 -DINTEROP_TOTYPE_EXTENSION=1 -DINTEROP_REGEXP_EXTENSION=1 -DINTEROP_JSON1_EXTENSION=1 -lm -lpthread -ldl 13 +mv $libname ../../../bin/2013/Debug/bin 8 14 popd
Changes to Setup/compile-interop-assembly-release.sh.
1 1 #!/bin/bash 2 2 3 3 scriptdir=`dirname "$BASH_SOURCE"` 4 + 5 +if [[ "$OSTYPE" == "darwin"* ]]; then 6 + libname=libsqlite3.dylib 7 +else 8 + libname=libsqlite3.so.0 9 +fi 4 10 5 11 pushd "$scriptdir/../SQLite.Interop/src/generic" 6 -gcc -g -fPIC -shared -o libsqlite3.so.0 interop.c -I../core -DSQLITE_THREADSAFE=1 -DSQLITE_USE_URI=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_ENABLE_STAT4=1 -DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_LOAD_EXTENSION=1 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SOUNDEX=1 -DSQLITE_ENABLE_MEMORY_MANAGEMENT=1 -DSQLITE_ENABLE_API_ARMOR=1 -DSQLITE_ENABLE_DBSTAT_VTAB=1 -DINTEROP_TEST_EXTENSION=1 -DINTEROP_EXTENSION_FUNCTIONS=1 -DINTEROP_VIRTUAL_TABLE=1 -DINTEROP_FTS5_EXTENSION=1 -DINTEROP_PERCENTILE_EXTENSION=1 -DINTEROP_TOTYPE_EXTENSION=1 -DINTEROP_REGEXP_EXTENSION=1 -DINTEROP_JSON1_EXTENSION=1 -lm -lpthread -ldl 7 -mv libsqlite3.so.0 ../../../bin/2013/Release/bin 12 +gcc -g -fPIC -shared -o $libname interop.c -I../core -DSQLITE_THREADSAFE=1 -DSQLITE_USE_URI=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_ENABLE_STAT4=1 -DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_LOAD_EXTENSION=1 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SOUNDEX=1 -DSQLITE_ENABLE_MEMORY_MANAGEMENT=1 -DSQLITE_ENABLE_API_ARMOR=1 -DSQLITE_ENABLE_DBSTAT_VTAB=1 -DINTEROP_TEST_EXTENSION=1 -DINTEROP_EXTENSION_FUNCTIONS=1 -DINTEROP_VIRTUAL_TABLE=1 -DINTEROP_FTS5_EXTENSION=1 -DINTEROP_PERCENTILE_EXTENSION=1 -DINTEROP_TOTYPE_EXTENSION=1 -DINTEROP_REGEXP_EXTENSION=1 -DINTEROP_JSON1_EXTENSION=1 -lm -lpthread -ldl 13 +mv $libname ../../../bin/2013/Release/bin 8 14 popd
Changes to Setup/run-mono-tests-debug.sh.
1 1 #!/bin/bash 2 2 3 3 scriptdir=`dirname "$BASH_SOURCE"` 4 + 5 +if [[ "$OSTYPE" == "darwin"* ]]; then 6 + libname=libsqlite3.dylib 7 +else 8 + libname=libsqlite3.so.0 9 +fi 4 10 5 11 pushd "$scriptdir/.." 6 -mono Externals/Eagle/bin/EagleShell.exe -preInitialize "set test_configuration Debug; set build_directory {bin/2013/Debug/bin}; set native_library_file_names libsqlite3.so.0" -file Tests/all.eagle 12 +mono Externals/Eagle/bin/EagleShell.exe -preInitialize "set test_configuration Debug; set build_directory {bin/2013/Debug/bin}; set native_library_file_names $libname" -file Tests/all.eagle 7 13 popd
Changes to Setup/run-mono-tests-release.sh.
1 1 #!/bin/bash 2 2 3 3 scriptdir=`dirname "$BASH_SOURCE"` 4 + 5 +if [[ "$OSTYPE" == "darwin"* ]]; then 6 + libname=libsqlite3.dylib 7 +else 8 + libname=libsqlite3.so.0 9 +fi 4 10 5 11 pushd "$scriptdir/.." 6 -mono Externals/Eagle/bin/EagleShell.exe -preInitialize "set test_configuration Release; set build_directory {bin/2013/Release/bin}; set native_library_file_names libsqlite3.so.0" -file Tests/all.eagle 12 +mono Externals/Eagle/bin/EagleShell.exe -preInitialize "set test_configuration Release; set build_directory {bin/2013/Release/bin}; set native_library_file_names $libname" -file Tests/all.eagle 7 13 popd