Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Update the "publish.sh" scripts used to build the binaries for the website. (CVS 4567) |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
2f748318fbb8ac4614c07629506b3955 |
User & Date: | drh 2007-11-27 17:38:14.000 |
Context
2007-11-27
| ||
18:30 | Add the publish_osx.sh script for building binaries for OSX (CVS 4568) (check-in: 9bd7c31496 user: drh tags: trunk) | |
17:38 | Update the "publish.sh" scripts used to build the binaries for the website. (CVS 4567) (check-in: 2f748318fb user: drh tags: trunk) | |
17:12 | Version 3.5.3 (CVS 4566) (check-in: a39007d5b1 user: drh tags: trunk) | |
Changes
Changes to mkdll.sh.
1 2 3 4 5 6 7 8 9 10 11 12 | #!/bin/sh # # This script is used to compile SQLite into a DLL. # # Two separate DLLs are generated. "sqlite3.dll" is the core # library. "tclsqlite3.dll" contains the TCL bindings and is the # library that is loaded into TCL in order to run SQLite. # make sqlite3.c PATH=$PATH:/opt/mingw/bin TCLDIR=/home/drh/tcltk/846/win/846win TCLSTUBLIB=$TCLDIR/libtcl84stub.a | > > | > | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | #!/bin/sh # # This script is used to compile SQLite into a DLL. # # Two separate DLLs are generated. "sqlite3.dll" is the core # library. "tclsqlite3.dll" contains the TCL bindings and is the # library that is loaded into TCL in order to run SQLite. # make sqlite3.c make fts3amal.c cat fts3amal.c >>sqlite3.c PATH=$PATH:/opt/mingw/bin TCLDIR=/home/drh/tcltk/846/win/846win TCLSTUBLIB=$TCLDIR/libtcl84stub.a OPTS='-DUSE_TCL_STUBS=1 -DSQLITE_THREADSAFE=1 -DBUILD_sqlite=1 -DOS_WIN=1' OPTS="$OPTS -DSQLITE_ENABLE_FTS3=1" CC="i386-mingw32msvc-gcc -Os $OPTS -Itsrc -I$TCLDIR" NM="i386-mingw32msvc-nm" CMD="$CC -c sqlite3.c" echo $CMD $CMD CMD="$CC -c tclsqlite3.c" echo $CMD $CMD |
︙ | ︙ |
Changes to publish.sh.
︙ | ︙ | |||
20 21 22 23 24 25 26 | VERSW=`sed 's/\./_/g' $srcdir/VERSION` echo "VERSIONS: $VERS $VERSW" # Start by building an sqlite shell for linux. # make clean make sqlite3.c | > > > > | > | < < > > | > | > < | > > | | 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 | VERSW=`sed 's/\./_/g' $srcdir/VERSION` echo "VERSIONS: $VERS $VERSW" # Start by building an sqlite shell for linux. # make clean make sqlite3.c make fts3amal.c cat fts3amal.c >>sqlite3.c CFLAGS="-Os -DSQLITE_ENABLE_FTS3=1 -DSQLITE_THREADSAFE=0" echo '***** '"COMPILING sqlite3-$VERS.bin..." gcc $CFLAGS -Itsrc sqlite3.c tsrc/shell.c -o sqlite3 -ldl -lpthread strip sqlite3 mv sqlite3 sqlite3-$VERS.bin gzip sqlite3-$VERS.bin chmod 644 sqlite3-$VERS.bin.gz mv sqlite3-$VERS.bin.gz doc # Build a source archive useful for windows. # make target_source cd tsrc echo '***** BUILDING preprocessed source archives' rm fts* icu* rm -f ../doc/sqlite-source-$VERSW.zip zip ../doc/sqlite-source-$VERSW.zip * cd .. cp tsrc/sqlite3.h tsrc/sqlite3ext.h . pwd zip doc/sqlite-amalgamation-$VERSW.zip sqlite3.c sqlite3.h sqlite3ext.h # Build the sqlite.so and tclsqlite.so shared libraries # under Linux # TCLDIR=/home/drh/tcltk/846/linux/846linux TCLSTUBLIB=$TCLDIR/libtclstub8.4g.a CFLAGS="-Os -DSQLITE_ENABLE_FTS3=1" echo '***** BUILDING shared libraries for linux' gcc $CFLAGS -shared -Itsrc sqlite3.c tsrc/tclsqlite.c $TCLSTUBLIB \ -o tclsqlite3.so strip tclsqlite3.so chmod 644 tclsqlite3.so mv tclsqlite3.so tclsqlite-$VERS.so gzip tclsqlite-$VERS.so mv tclsqlite-$VERS.so.gz doc gcc $CFLAGS -shared -Itsrc sqlite3.c -o sqlite3.so strip sqlite3.so chmod 644 sqlite3.so mv sqlite3.so sqlite-$VERS.so gzip sqlite-$VERS.so mv sqlite-$VERS.so.gz doc # Build the tclsqlite3.dll and sqlite3.dll shared libraries. # . $srcdir/mkdll.sh echo '***** PACKAGING shared libraries for windows' echo zip doc/tclsqlite-$VERSW.zip tclsqlite3.dll zip doc/tclsqlite-$VERSW.zip tclsqlite3.dll echo zip doc/sqlitedll-$VERSW.zip sqlite3.dll sqlite3.def zip doc/sqlitedll-$VERSW.zip sqlite3.dll sqlite3.def # Build the sqlite.exe executable for windows. # OPTS='-DSTATIC_BUILD=1 -DNDEBUG=1 -DSQLITE_THREADSAFE=0' OPTS="$OPTS -DSQLITE_ENABLE_FTS3=1" i386-mingw32msvc-gcc -Os $OPTS -Itsrc -I$TCLDIR sqlite3.c tsrc/shell.c \ -o sqlite3.exe zip doc/sqlite-$VERSW.zip sqlite3.exe # Construct a tarball of the source tree # echo '***** BUILDING source archive' ORIGIN=`pwd` cd $srcdir cd .. mv sqlite sqlite-$VERS EXCLUDE=`find sqlite-$VERS -print | egrep (CVS|www/|art/|doc/|contrib/) | sed 's,^, --exclude ,'` tar czf $ORIGIN/doc/sqlite-$VERS.tar.gz $EXCLUDE sqlite-$VERS mv sqlite-$VERS sqlite cd $ORIGIN # # Build RPMS (binary) and Source RPM # |
︙ | ︙ |