Skip to content

Commit

Permalink
[Packaging][CI] Add cmake variables for cuda
Browse files Browse the repository at this point in the history
  • Loading branch information
normallytangent committed Feb 28, 2024
1 parent 8b0037c commit 7541653
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/package-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ jobs:
cp -R AdaptiveCpp acpp-23.10.0
tar -cf acpp_23.10.0.orig.tar.gz acpp-23.10.0/
cd acpp-23.10.0/
sed -i "s/-DDEFAULT.*/-DDEFAULT_TARGETS=\"cuda:sm_60\" \\\/" debian/rules
sed -i "s/-DWITH_CUDA_BACKEND=.*/-DWITH_CUDA_BACKEND=ON \\\/" debian/rules
debuild -us -uc
- name: Install the package
run: |
Expand Down

0 comments on commit 7541653

Please sign in to comment.