Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cudatoolkit: Fix building dependent packages
- Set a cmake flag to allow cmake to find CUDA automatically. - Pass -D_FORCE_INLINES to work around /nix/store/8sl4jfs3nq0pkq4gg655s3axrxdx7z29-glibc-2.24-dev/include/string.h: In function 'void* __mempcpy_inline(void*, const void*, size_t)': /nix/store/8sl4jfs3nq0pkq4gg655s3axrxdx7z29-glibc-2.24-dev/include/string.h:650:42: error: 'memcpy' was not declared in this scope BVLC/caffe#4046 This fixes OpenSubdiv and Blender. (cherry picked from commit 5ade8ff)
- Loading branch information