diff options
| author | Paul Oliver <contact@pauloliver.dev> | 2025-12-03 22:14:38 +0100 |
|---|---|---|
| committer | Paul Oliver <contact@pauloliver.dev> | 2025-12-05 01:57:20 +0100 |
| commit | 24811b4c6a6592b08dbb41243db188a8b310312d (patch) | |
| tree | 3c2751b0ba74e498f64a0bab1e75fdd6af314692 /salis.py | |
| parent | c7c5925d86fd3e36069ee3689b1c0a1f6df600f9 (diff) | |
Improve SQL handling & aggregate memory events (WIP)data_improvements
Diffstat (limited to 'salis.py')
| -rwxr-xr-x | salis.py | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -343,12 +343,11 @@ build_cmd.extend(["-O3", "-DNDEBUG"] if args.optimized else ["-ggdb"]) if args.command in ["load", "new"]: build_cmd.extend(ui_vars.flags) - # Enable POSIX extensions (open_memstream) + # Enable POSIX extensions (open_memstream) if compression is enabled + # This makes it easy to generate compressed data arrays for lzip using + # C's native FILE interface. build_cmd.extend(["-lz", "-D_POSIX_C_SOURCE=200809L"] if args.compress else []) - - # Enable GNU extensions (asprintf) - # This allows managing large SQL strings more easily - build_cmd.extend(["-lsqlite3", "-D_GNU_SOURCE"] if args.data_push_pow != 0 else []) + build_cmd.extend(["-lsqlite3"] if args.data_push_pow != 0 else []) info("Using build command:", " ".join(build_cmd)) subprocess.run(build_cmd, check=True) |
