Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Evaluate whether to adopt any compiler flags set by debian #573

Open
flavorjones opened this issue Oct 29, 2024 · 0 comments
Open

Evaluate whether to adopt any compiler flags set by debian #573

flavorjones opened this issue Oct 29, 2024 · 0 comments

Comments

@flavorjones
Copy link
Member

flavorjones commented Oct 29, 2024

Debian currently sets these flags (as of sid/unstable 3.46.1-1, see http://deb.debian.org/debian/pool/main/s/sqlite3/sqlite3_3.46.1-1.debian.tar.xz)

export CFLAGS += -O2 -fno-strict-aliasing \
    -DSQLITE_SECURE_DELETE -DSQLITE_ENABLE_COLUMN_METADATA \
    -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS \
    -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SOUNDEX=1 \
    -DSQLITE_ENABLE_UNLOCK_NOTIFY \
    -DSQLITE_ENABLE_DBSTAT_VTAB \
    -DSQLITE_ALLOW_ROWID_IN_VIEW \
    -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT=1 \
    -DSQLITE_ENABLE_LOAD_EXTENSION \
    -DSQLITE_ENABLE_JSON1 \
    -DSQLITE_LIKE_DOESNT_MATCH_BLOBS \
    -DSQLITE_THREADSAFE=1 \
    -DSQLITE_ENABLE_FTS3_TOKENIZER=1 \
    -DSQLITE_USE_URI=1 \
    -DSQLITE_MAX_SCHEMA_RETRY=25 \
    -DSQLITE_ENABLE_PREUPDATE_HOOK \
    -DSQLITE_ENABLE_SESSION \
    -DSQLITE_ENABLE_STMTVTAB \
    -DSQLITE_STRICT_SUBTYPE=1 \
    -DSQLITE_MAX_VARIABLE_NUMBER=250000

Any of these make sense for this gem to set when it compiles?

pawurb added a commit to pawurb/sqlite3-ruby that referenced this issue Nov 18, 2024
pawurb added a commit to pawurb/sqlite3-ruby that referenced this issue Nov 18, 2024
pawurb added a commit to pawurb/sqlite3-ruby that referenced this issue Nov 18, 2024
flavorjones pushed a commit to pawurb/sqlite3-ruby that referenced this issue Nov 19, 2024
flavorjones pushed a commit to pawurb/sqlite3-ruby that referenced this issue Nov 19, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant