Changeset 113c65c in rtems-source-builder for source-builder/config/sqlite-3-1.cfg
- Timestamp:
- 04/02/20 22:35:15 (3 years ago)
- 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)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source-builder/config/sqlite-3-1.cfg
r54e08b8 r113c65c 12 12 Summary: SQLite is an in-process library that implements a 13 13 self-contained, serverless, zero-configuration, 14 14 transactional SQL database engine. 15 15 Version: %{sqlite_version} 16 16 Release: %{release} 17 URL: 17 URL: http://www.sqlite.org/ 18 18 19 19 # 20 20 # Sqlite Source 21 21 # 22 %source set sqlite http://www.sqlite.org/%{sqlite_src_year}/sqlite- src-%{sqlite_src_version}.zip22 %source set sqlite http://www.sqlite.org/%{sqlite_src_year}/sqlite-autoconf-%{sqlite_src_version}.tar.gz 23 23 24 24 # … … 28 28 build_top=$(pwd) 29 29 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} 32 32 %patch setup sqlite -p1 33 33 … … 44 44 %{host_build_flags} 45 45 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" 47 61 48 62 ../${source_dir_sqlite}/configure \ … … 58 72 --datadir=%{_datadir} \ 59 73 --disable-largefile \ 60 --disable-tcl \ 61 --disable-readline \ 62 --disable-amalgamation 74 --disable-readline 63 75 64 76 %{__make} %{?_smp_mflags} sqlite3.h libsqlite3.la 65 66 #67 # Create the sqlite shell executable so the install works.68 #69 touch sqlite370 77 71 78 cd ${build_top} … … 77 84 78 85 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 80 90 cd ${build_top} 81 91 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.