@@ -18,15 +18,13 @@ set -e # Exit on error
1818# Source environment setup (for compiler)
1919source /etc/bashrc || true
2020
21- # Source MKL environment if IVF is enabled
22- if [ " ${ENABLE_IVF:- OFF} " = " ON" ]; then
23- if [ -f /opt/intel/oneapi/setvars.sh ]; then
24- source /opt/intel/oneapi/setvars.sh --include-intel-llvm 2> /dev/null || true
25- echo " MKL sourced: MKLROOT=${MKLROOT} "
26- else
27- echo " ERROR: IVF enabled but MKL setvars.sh not found"
28- exit 1
29- fi
21+ # Source MKL environment (required for IVF)
22+ if [ -f /opt/intel/oneapi/setvars.sh ]; then
23+ source /opt/intel/oneapi/setvars.sh --include-intel-llvm 2> /dev/null || true
24+ echo " MKL sourced: MKLROOT=${MKLROOT} "
25+ else
26+ echo " ERROR: MKL setvars.sh not found"
27+ exit 1
3028fi
3129
3230# Create build+install directories for cpp runtime bindings
@@ -42,7 +40,7 @@ CMAKE_ARGS=(
4240 " -DCMAKE_INSTALL_PREFIX=/workspace/install_cpp_bindings"
4341 " -DCMAKE_INSTALL_LIBDIR=lib"
4442 " -DSVS_RUNTIME_ENABLE_LVQ_LEANVEC=${ENABLE_LVQ_LEANVEC:- ON} "
45- " -DSVS_RUNTIME_ENABLE_IVF=${ENABLE_IVF :- OFF} "
43+ " -DSVS_RUNTIME_ENABLE_IVF=ON "
4644)
4745
4846if [ -n " $SVS_URL " ]; then
@@ -64,7 +62,7 @@ find /workspace/bindings/cpp/build_cpp_bindings -name '*.a' -delete 2>/dev/null
6462find /workspace/bindings/cpp/build_cpp_bindings -name ' *.so*' -not -path ' */tests/*' -not -name ' libsvs_runtime*' -delete 2> /dev/null || true
6563# Use /workspace for temp files to avoid filling up /tmp during LTO compilation
6664mkdir -p /workspace/tmp
67- TMPDIR=/workspace/tmp ENABLE_LVQ_LEANVEC=${ENABLE_LVQ_LEANVEC:- ON} ENABLE_IVF= ${ENABLE_IVF :- OFF} SVS_URL=" ${SVS_URL} " SUFFIX=" ${SUFFIX} " conda build bindings/cpp/conda-recipe --output-folder /workspace/conda-bld
65+ TMPDIR=/workspace/tmp ENABLE_LVQ_LEANVEC=${ENABLE_LVQ_LEANVEC:- ON} SVS_URL=" ${SVS_URL} " SUFFIX=" ${SUFFIX} " conda build bindings/cpp/conda-recipe --output-folder /workspace/conda-bld
6866
6967# Create tarball with symlink for compatibility
7068cd /workspace/install_cpp_bindings && \
0 commit comments