File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 77set -e
88
99# Workaround for CUDA 11.4.4 builds. Moves all necessary headers to include root.
10- if [[ -n " $FAISS_FLATTEN_CONDA_INCLUDES " && " $FAISS_FLATTEN_CONDA_INCLUDES " == " 1" ] ]; then
11- cp -r -n $CONDA_PREFIX /x86_64-conda-linux-gnu/sysroot/usr/include/* $CONDA_PREFIX /include/
12- cp -r -n $CONDA_PREFIX /x86_64-conda-linux-gnu/include/c++/11.2.0/* $CONDA_PREFIX /include/
13- cp -r -n $CONDA_PREFIX /x86_64-conda-linux-gnu/include/c++/11.2.0/x86_64-conda-linux-gnu/* $CONDA_PREFIX /include/
10+ if [ -n " $FAISS_FLATTEN_CONDA_INCLUDES " ] && [ " $FAISS_FLATTEN_CONDA_INCLUDES " = " 1" ]; then
11+ cp -r -n " $CONDA_PREFIX /x86_64-conda-linux-gnu/sysroot/usr/include/" * " $CONDA_PREFIX /include/"
12+ cp -r -n " $CONDA_PREFIX /x86_64-conda-linux-gnu/include/c++/11.2.0/" * " $CONDA_PREFIX /include/"
13+ cp -r -n " $CONDA_PREFIX /x86_64-conda-linux-gnu/include/c++/11.2.0/x86_64-conda-linux-gnu/" * " $CONDA_PREFIX /include/"
1414fi
1515
1616# Build libfaiss.so/libfaiss_avx2.so/libfaiss_avx512.so
You can’t perform that action at this time.
0 commit comments