summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Dorier <mdorier@anl.gov>2024-10-17 00:24:04 +0100
committerGitHub <noreply@github.com>2024-10-16 17:24:04 -0600
commit64a7525e3ff2a6ca1d44aeadde9b9d26878d73ec (patch)
treeb1ce33924b8edc043fc3d65797d1e31dfb727fd3
parentbfe434cbd500b591798775b3363992e0425988bf (diff)
downloadspack-64a7525e3ff2a6ca1d44aeadde9b9d26878d73ec.tar.gz
spack-64a7525e3ff2a6ca1d44aeadde9b9d26878d73ec.tar.bz2
spack-64a7525e3ff2a6ca1d44aeadde9b9d26878d73ec.tar.xz
spack-64a7525e3ff2a6ca1d44aeadde9b9d26878d73ec.zip
duckdb: install headers and libraries (#47015)
-rw-r--r--var/spack/repos/builtin/packages/duckdb/package.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/duckdb/package.py b/var/spack/repos/builtin/packages/duckdb/package.py
index efb021ca67..6bac330a3a 100644
--- a/var/spack/repos/builtin/packages/duckdb/package.py
+++ b/var/spack/repos/builtin/packages/duckdb/package.py
@@ -18,6 +18,7 @@ class Duckdb(MakefilePackage):
maintainers("glentner", "teaguesterling")
version("master", branch="master")
+ version("1.1.2", sha256="a3319a64c390ed0454c869b2e4fc0af2413cd49f55cd0f1400aaed9069cdbc4c")
version("1.1.1", sha256="a764cef80287ccfd8555884d8facbe962154e7c747043c0842cd07873b4d6752")
version("1.1.0", sha256="d9be2c6d3a5ebe2b3d33044fb2cb535bb0bd972a27ae38c4de5e1b4caa4bf68d")
version("1.0.0", sha256="04e472e646f5cadd0a3f877a143610674b0d2bcf9f4102203ac3c3d02f1c5f26")
@@ -186,5 +187,10 @@ class Duckdb(MakefilePackage):
def install(self, spec, prefix):
mkdir(prefix.bin)
+ mkdirp(prefix.lib)
+ mkdir(prefix.include)
build_dir = join_path("build", "release")
install(join_path(build_dir, "duckdb"), prefix.bin)
+ install(join_path(build_dir, "src", "libduckdb.so"), prefix.lib)
+ install(join_path(build_dir, "src", "libduckdb_static.a"), prefix.lib)
+ install_tree(join_path("src", "include"), prefix.include)