

set -ex



ln -sf ${PREFIX}/bin/x86_64-conda-linux-gnu-g++ ${PREFIX}/bin/g++
ln -sf ${PREFIX}/bin/x86_64-conda-linux-gnu-gcc ${PREFIX}/bin/gcc
test -L $PREFIX/lib/libnvptxcompiler_static.a
nvcc --version
nvcc --verbose test.cu
cmake -S . -B ./build -G=Ninja && cmake --build ./build -v
bash ./run_cmake_cuda_tests.sh
exit 0
