Changeset 113c65c in rtems-source-builder for source-builder/config/sqlite-3-1.cfg


Ignore:
Timestamp:
04/02/20 22:35:15 (3 years ago)
Author:
Jonathan Brandmeyer <jbrandmeyer@…>
Branches:
5, master
Children:
4727c3e
Parents:
54e08b8
git-author:
Jonathan Brandmeyer <jbrandmeyer@…> (04/02/20 22:35:15)
git-committer:
Joel Sherrill <joel@…> (04/03/20 00:08:16)
Message:

databases/sqlite: Update to 3.31.1

closes #3927.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source-builder/config/sqlite-3-1.cfg

    r54e08b8 r113c65c  
    1212Summary:   SQLite is an in-process library that implements a
    1313           self-contained, serverless, zero-configuration,
    14            transactional SQL database engine.
     14           transactional SQL database engine.
    1515Version:   %{sqlite_version}
    1616Release:   %{release}
    17 URL:       http://www.sqlite.org/
     17URL:       http://www.sqlite.org/
    1818
    1919#
    2020# Sqlite Source
    2121#
    22 %source set sqlite http://www.sqlite.org/%{sqlite_src_year}/sqlite-src-%{sqlite_src_version}.zip
     22%source set sqlite http://www.sqlite.org/%{sqlite_src_year}/sqlite-autoconf-%{sqlite_src_version}.tar.gz
    2323
    2424#
     
    2828  build_top=$(pwd)
    2929
    30   source_dir_sqlite="sqlite-src-%{sqlite_src_version}"
    31   %source setup sqlite -q -n sqlite-src-%{sqlite_src_version}
     30  source_dir_sqlite="sqlite-autoconf-%{sqlite_src_version}"
     31  %source setup sqlite -q -n sqlite-autoconf-%{sqlite_src_version}
    3232  %patch setup sqlite -p1
    3333
     
    4444  %{host_build_flags}
    4545
    46   CFLAGS="${CFLAGS} -DSQLITE_OMIT_WAL=1 -DSQLITE_ENABLE_COLUMN_METADATA=1"
     46  # RTEMS-specific SQLite configuration options.
     47  # See also
     48  # - https://sqlite.org/wal.html#noshm
     49  # - https://sqlite.org/malloc.html
     50  #
     51  # Many other compile-time options may be passed in via CFLAGS.
     52  #   See also https://sqlite.org/compile.html
     53  #
     54  # RTEMS filesystems do not support POSIX advisory file locks.  Applications
     55  # must choose an appropriate SQLite VFS which avoids them, such as unix-none
     56  # (no locking at all: Application logic must avoid collisions) or
     57  # unix-dotfile.  This step must be performed at application startup time.
     58  #   See also https://sqlite.org/c3ref/vfs_find.html
     59  #
     60  CFLAGS="${CFLAGS} -DSQLITE_MAX_MMAP_SIZE=0 -DSQLITE_DEFAULT_LOCKING_MODE=1 -DSQLITE_ENABLE_MEMSYS5"
    4761
    4862  ../${source_dir_sqlite}/configure \
     
    5872    --datadir=%{_datadir} \
    5973    --disable-largefile \
    60     --disable-tcl \
    61     --disable-readline \
    62     --disable-amalgamation
     74    --disable-readline
    6375
    6476  %{__make} %{?_smp_mflags} sqlite3.h libsqlite3.la
    65 
    66   #
    67   # Create the sqlite shell executable so the install works.
    68   #
    69   touch sqlite3
    7077
    7178  cd ${build_top}
     
    7784
    7885  cd ${build_dir}
    79   %{__make} DESTDIR=$SB_BUILD_ROOT install
     86  # Warning: The unusual install targets avoid attempting to compile and link
     87  # the SQLite3 command-line shell.  The SQLite3 shell is not supported by
     88  # RTEMS.
     89  %{__make} DESTDIR=$SB_BUILD_ROOT install-data install-libLTLIBRARIES
    8090  cd ${build_top}
    8191
    82   #
    83   # Remove the sqlite shell as it is just a touch.
    84   #
    85   %{__rm} $SB_BUILD_ROOT%{_bindir}/sqlite3
Note: See TracChangeset for help on using the changeset viewer.