Skip to content

Commit

Permalink
[SuiteSparse_GPU] Update products to only contain GPU libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
imciner2 committed Dec 14, 2023
1 parent 64c2c84 commit d775faa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
6 changes: 1 addition & 5 deletions S/SuiteSparse/SuiteSparse_GPU@7/build_tarballs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,6 @@ install_license LICENSE.txt
platforms = CUDA.supported_platforms()
filter!(p -> arch(p) == "x86_64", platforms)

# Add products
push!(products, LibraryProduct("libgpuqrengine", :libgpuqrengine))
push!(products, LibraryProduct("libsuitesparse_gpuruntime", :libsuitesparse_gpuruntime))

# Add dependency on SuiteSparse_jll
push!(dependencies, Dependency("SuiteSparse_jll"))

Expand All @@ -113,7 +109,7 @@ for platform in platforms
cuda_deps = CUDA.required_dependencies(platform)

build_tarballs(ARGS, name, version, sources, script, [platform],
products, [dependencies; cuda_deps]; lazy_artifacts=true,
gpu_products, [dependencies; cuda_deps]; lazy_artifacts=true,
julia_compat="1.10",preferred_gcc_version=v"9",
augment_platform_block=CUDA.augment,
skip_audit=true, dont_dlopen=true)
Expand Down
9 changes: 9 additions & 0 deletions S/SuiteSparse/common.jl
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@ products = [
LibraryProduct("libspqr", :libspqr),
]

# Products for the GPU builds of SuiteSparse
gpu_products = [
LibraryProduct("libsuitesparseconfig", :libsuitesparseconfig),
LibraryProduct("libcholmod", :libcholmod),
LibraryProduct("libspqr", :libspqr),
LibraryProduct("libgpuqrengine", :libgpuqrengine),
LibraryProduct("libsuitesparse_gpuruntime", :libsuitesparse_gpuruntime),
]

# Dependencies that must be installed before this package can be built
dependencies = [
Dependency("libblastrampoline_jll"; compat="5.8.0"),
Expand Down

0 comments on commit d775faa

Please sign in to comment.