diff --git a/src/main/cpp/build.sh b/src/main/cpp/build.sh index 21f82b4e598..08ad087fe91 100755 --- a/src/main/cpp/build.sh +++ b/src/main/cpp/build.sh @@ -75,7 +75,7 @@ if ! ldconfig -p | grep -q libmkl_rt; then source /opt/intel/oneapi/setvars.sh export MKL_RT_LIBRARY=/opt/intel/oneapi/mkl/lib/intel64/libmkl_rt.so - export MKL_INCLUDE_DIR=/usr/include + export MKL_INCLUDE_DIR=/usr/include/x86_64-linux-gnu export MKL_ROOT=/opt/intel/oneapi/mkl/2023.2.0/ @@ -118,11 +118,10 @@ cmake --build HE --target install --config Release rm -R HE echo "Searching mkl.h" -find / -name "mkl.h" -echo "Searching inc" -find / -type d -name "include" +find /usr -name "mkl.h" echo "Searching rt" -find / -name "libmkl_rt.so" +find /usr -name "libmkl_rt.so" + +ls /usr/include/x86_64-linux-gnu -ls /opt/intel/oneapi/mkl/2023.2.0/