Skip to content

Commit

Permalink
Update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
RaulPPelaez committed Nov 17, 2023
1 parent 262dfd6 commit 170a266
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci-cuda12.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,14 @@ jobs:
conda list
- name: Configure, compile, and install
# CUDA_INC_PATH is required because of a bug in the torch CMake files
# CUDA_INC_PATH is required because conda-forge installs CUDA headers to a non standard place
run: |
conda activate nnpops
mkdir build && cd build
cmake .. \
CUDA_INC_PATH=$CONDA_PREFIX/targets/x86_64-linux/include cmake .. \
-DENABLE_CUDA=${{ matrix.enable_cuda }} \
-DTorch_DIR=$(python -c 'import torch.utils; print(torch.utils.cmake_prefix_path)')/Torch \
-DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX \
-DCUDA_INC_PATH=$CONDA_PREFIX/targets/x86_64-linux/include
-DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX
make install
- name: Test
Expand Down

0 comments on commit 170a266

Please sign in to comment.