Skip to content

Commit

Permalink
Keep libnvptxcompiler_static.a in the list of static CUDA toolkit l…
Browse files Browse the repository at this point in the history
…ibs (#60)

* keep libnvptxcompiler_static.a in the list of static CUDA toolkit libs

* ignore llvm dpkg overwrite errors
  • Loading branch information
trxcllnt authored Apr 11, 2023
1 parent 7ef5e02 commit 8c3b25c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion features/src/cuda/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "CUDA Toolkit",
"id": "cuda",
"version": "23.4.3",
"version": "23.4.4",
"description": "A feature to install the NVIDIA CUDA Toolkit",
"options": {
"version": {
Expand Down
2 changes: 1 addition & 1 deletion features/src/cuda/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ if [[ "${PRUNESTATICLIBS:-false}" == true ]]; then

for dir in "lib" "lib64"; do
find "$(realpath -m "${CUDA_HOME}/${dir}")/" -type f \
\( -name '*.a' ! -name 'libcudart_static.a' ! -name 'libcudadevrt.a' ! -name 'libculibos.a' \) \
\( -name '*.a' ! -name 'libnvptxcompiler_static.a' ! -name 'libcudart_static.a' ! -name 'libcudadevrt.a' ! -name 'libculibos.a' \) \
-delete || true;
done
fi
2 changes: 1 addition & 1 deletion features/src/llvm/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "LLVM compilers and tools",
"id": "llvm",
"version": "23.4.3",
"version": "23.4.4",
"description": "A feature to install LLVM compilers and tools",
"options": {
"version": {
Expand Down
2 changes: 1 addition & 1 deletion features/src/llvm/llvm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -178,4 +178,4 @@ if [[ $ALL -eq 1 ]]; then
PKG="$PKG libclang-rt-$LLVM_VERSION-dev libpolly-$LLVM_VERSION-dev"
fi
fi
apt-get install -y $PKG
apt-get install -y -o Dpkg::Options::="--force-overwrite" $PKG

0 comments on commit 8c3b25c

Please sign in to comment.