/ Check-in [21299b91]
Login
SQLite training in Houston TX on 2019-11-05 (details)
Part of the 2019 Tcl Conference

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Update the release builder script. (CVS 3957)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 21299b917812920c70001c2d3d9b65f66eca6b24
User & Date: drh 2007-05-08 18:30:36
Context
2007-05-08
20:37
Fix the amalgamation generator so that all non-API functions have file scope. (CVS 3958) check-in: e9f56ead user: drh tags: trunk
18:30
Update the release builder script. (CVS 3957) check-in: 21299b91 user: drh tags: trunk
18:04
Fix a null-pointer dereference that follows a malloc() failure introduced in (3954). (CVS 3956) check-in: 251ba198 user: danielk1977 tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to publish.sh.

    22     22   VERSW=`sed 's/\./_/g' $srcdir/VERSION`
    23     23   echo "VERSIONS: $VERS $VERSW"
    24     24   
    25     25   # Start by building an sqlite shell for linux.
    26     26   #
    27     27   make clean
    28     28   make sqlite3.c
    29         -gcc -O2 -Itsrc sqlite3.c tsrc/shell.c -o sqlite3 -ldl -lpthread
           29  +gcc -Os -Itsrc sqlite3.c tsrc/shell.c -o sqlite3 -ldl -lpthread
    30     30   strip sqlite3
    31     31   mv sqlite3 sqlite3-$VERS.bin
    32     32   gzip sqlite3-$VERS.bin
    33     33   chmod 644 sqlite3-$VERS.bin.gz
    34     34   mv sqlite3-$VERS.bin.gz doc
    35     35   
    36     36   # Build a source archive useful for windows.
    37     37   #
           38  +make target_source
           39  +cd tsrc
           40  +rm fts*
           41  +rm -f ../doc/sqlite-source-$VERSW.zip
           42  +zip ../doc/sqlite-source-$VERSW.zip *
           43  +cd ..
    38     44   make sqlite3.c
    39     45   cp tsrc/sqlite3.h .
    40     46   pwd
    41         -zip doc/sqlite-source-$VERSW.zip sqlite3.c sqlite3.h
           47  +zip doc/sqlite-amalgamation-$VERSW.zip sqlite3.c sqlite3.h
    42     48   
    43     49   # Build the sqlite.so and tclsqlite.so shared libraries
    44     50   # under Linux
    45     51   #
    46     52   make sqlite3.c
    47     53   TCLDIR=/home/drh/tcltk/846/linux/846linux
    48     54   TCLSTUBLIB=$TCLDIR/libtclstub8.4g.a
    49         -gcc -O2 -shared -Itsrc sqlite3.c tsrc/tclsqlite.c $TCLSTUBLIB -o tclsqlite3.so
           55  +gcc -Os -shared -Itsrc sqlite3.c tsrc/tclsqlite.c $TCLSTUBLIB -o tclsqlite3.so
    50     56   strip tclsqlite3.so
    51     57   chmod 644 tclsqlite3.so
    52     58   mv tclsqlite3.so tclsqlite-$VERS.so
    53     59   gzip tclsqlite-$VERS.so
    54     60   mv tclsqlite-$VERS.so.gz doc
    55         -gcc -O2 -shared -Itsrc sqlite3.c -o sqlite3.so
           61  +gcc -Os -shared -Itsrc sqlite3.c -o sqlite3.so
    56     62   strip sqlite3.so
    57     63   chmod 644 sqlite3.so
    58     64   mv sqlite3.so sqlite-$VERS.so
    59     65   gzip sqlite-$VERS.so
    60     66   mv sqlite-$VERS.so.gz doc
    61     67   
    62     68   
................................................................................
    68     74   echo zip doc/sqlitedll-$VERSW.zip sqlite3.dll sqlite3.def
    69     75   zip doc/sqlitedll-$VERSW.zip sqlite3.dll sqlite3.def
    70     76   
    71     77   # Build the sqlite.exe executable for windows.
    72     78   #
    73     79   make target_source
    74     80   OPTS='-DSTATIC_BUILD=1 -DNDEBUG=1'
    75         -i386-mingw32msvc-gcc -O2 $OPTS -Itsrc -I$TCLDIR sqlite3.c tsrc/shell.c \
           81  +i386-mingw32msvc-gcc -Os $OPTS -Itsrc -I$TCLDIR sqlite3.c tsrc/shell.c \
    76     82         -o sqlite3.exe
    77     83   zip doc/sqlite-$VERSW.zip sqlite3.exe
    78     84   
    79     85   # Construct a tarball of the source tree
    80     86   #
    81     87   ORIGIN=`pwd`
    82     88   cd $srcdir

Changes to www/download.tcl.

     1      1   #
     2      2   # Run this TCL script to generate HTML for the download.html file.
     3      3   #
     4         -set rcsid {$Id: download.tcl,v 1.26 2007/04/09 13:18:47 drh Exp $}
            4  +set rcsid {$Id: download.tcl,v 1.27 2007/05/08 18:30:36 drh Exp $}
     5      5   source common.tcl
     6      6   header {SQLite Download Page}
     7      7   
     8      8   puts {
     9      9   <h2>SQLite Download Page</h1>
    10     10   <table width="100%" cellpadding="5">
    11     11   }
................................................................................
   132    132   
   133    133   Product {sqlite-V3.tar.gz} {
   134    134     A tarball of the complete source tree for SQLite version VERSION
   135    135     including all of the documentation.
   136    136   }
   137    137   
   138    138   Product {sqlite-source-V3.zip} {
   139         -  This ZIP archive contains pure C code for the SQLite library.
          139  +  This ZIP archive contains preprocessed C code for the SQLite library as
          140  +  individual source files.
   140    141     Unlike the tarballs below, all of the preprocessing and automatic
   141    142     code generation has already been done on these C code files, so they
   142    143     can be converted to object code directly with any ordinary C compiler.
   143    144   }
          145  +
          146  +Product {sqlite-amalgamation-V3.zip} {
          147  +  This ZIP archive contains all preprocessed C code combined into a
          148  +  single source file (the
          149  +  <a href="http://www.sqlite.org/cvstrac/wiki?p=TheAmalgamation">
          150  +  amalgamation</a>).
          151  +}
   144    152   
   145    153   Product {sqlite-V3-tea.tar.gz} {
   146    154     A tarball of proprocessed source code together with a
   147    155     <a href="http://www.tcl.tk/doc/tea/">Tcl Extension Architecture (TEA)</a>
   148    156     compatible configure script and makefile.
   149    157   }
   150    158