summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSinan <sbulutw@gmail.com>2019-12-12 20:58:16 -0800
committerAdam J. Stewart <ajstewart426@gmail.com>2019-12-12 22:58:16 -0600
commit0d7b9de3be0d6b32c72088c8299b44a91a615093 (patch)
tree254f568b10d072144f8c368c2cc3ec6d676cb192
parentddfca1b2f260678078bcaf3b3bb7c82a762639e9 (diff)
downloadspack-0d7b9de3be0d6b32c72088c8299b44a91a615093.tar.gz
spack-0d7b9de3be0d6b32c72088c8299b44a91a615093.tar.bz2
spack-0d7b9de3be0d6b32c72088c8299b44a91a615093.tar.xz
spack-0d7b9de3be0d6b32c72088c8299b44a91a615093.zip
compile python with sqlite loadable extensions (#14132)
-rw-r--r--var/spack/repos/builtin/packages/python/package.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/python/package.py b/var/spack/repos/builtin/packages/python/package.py
index 3bd412b11e..546286bb12 100644
--- a/var/spack/repos/builtin/packages/python/package.py
+++ b/var/spack/repos/builtin/packages/python/package.py
@@ -289,6 +289,10 @@ class Python(AutotoolsPackage):
spec['tcl'].libs.ld_flags, spec['tk'].libs.ld_flags)
])
+ # https://docs.python.org/3.8/library/sqlite3.html#f1
+ if spec.satisfies('@3.2: +sqlite3'):
+ config_args.append('--enable-loadable-sqlite-extensions')
+
return config_args
@run_after('install')