Disable *.so symlinks temporarily
@@ -25,11 +25,11 @@ if [[ "$target_platform" == linux* ]]; then
CMAKE_FLAGS+=" -DOPENCL_LIBRARY=${CUDA_HOME}/lib64/libOpenCL.so"
# Softlink opencl library to (`nvcc` does that for libcuda.so)
- CONDA_BUILD_SYSROOT="$(${CC} --print-sysroot)"
- mkdir -p "${CONDA_BUILD_SYSROOT}/lib"
- ln -s "${CUDA_HOME}/lib64/stubs/libcuda.so.1" "${CONDA_BUILD_SYSROOT}/lib/libcuda.so.1" || true
- ln -s "${CUDA_HOME}/lib64/libOpenCL.so" "${CONDA_BUILD_SYSROOT}/lib/libOpenCL.so" || true
- ln -s "${CUDA_HOME}/lib64/libOpenCL.so.1" "${CONDA_BUILD_SYSROOT}/lib/libOpenCL.so.1" || true
+ # CONDA_BUILD_SYSROOT="$(${CC} --print-sysroot)"
+ # mkdir -p "${CONDA_BUILD_SYSROOT}/lib"
+ # ln -s "${CUDA_HOME}/lib64/stubs/libcuda.so.1" "${CONDA_BUILD_SYSROOT}/lib/libcuda.so.1" || true
+ # ln -s "${CUDA_HOME}/lib64/libOpenCL.so" "${CONDA_BUILD_SYSROOT}/lib/libOpenCL.so" || true
+ # ln -s "${CUDA_HOME}/lib64/libOpenCL.so.1" "${CONDA_BUILD_SYSROOT}/lib/libOpenCL.so.1" || true
elif [[ "$target_platform" == osx* ]]; then
CMAKE_FLAGS+=" -DCMAKE_OSX_SYSROOT=${CONDA_BUILD_SYSROOT}"
