diff --git a/dnnl/cppbuild.sh b/dnnl/cppbuild.sh index 55ae5f985e..b44b6ea676 100755 --- a/dnnl/cppbuild.sh +++ b/dnnl/cppbuild.sh @@ -65,9 +65,9 @@ case $PLATFORM in strip ../lib/libtbb.so.* cd ../oneDNN-$MKLDNN_VERSION fi - sedinplace 's/constexpr GRF getBase/GRF getBase/g' src/gpu/jit/ngen/ngen_core.hpp - sedinplace 's/constexpr int32_t getDisp/int32_t getDisp/g' src/gpu/jit/ngen/ngen_core.hpp - sedinplace '/immintrin.h/d' src/gpu/jit/ngen/ngen_utils.hpp + # sedinplace 's/constexpr GRF getBase/GRF getBase/g' src/gpu/jit/ngen/ngen_core.hpp + # sedinplace 's/constexpr int32_t getDisp/int32_t getDisp/g' src/gpu/jit/ngen/ngen_core.hpp + # sedinplace '/immintrin.h/d' src/gpu/jit/ngen/ngen_utils.hpp "$CMAKE" -DCMAKE_SYSTEM_NAME=Linux -DCMAKE_SYSTEM_PROCESSOR=AARCH64 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$INSTALL_PATH -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_CXX_FLAGS='-Wl,-rpath,$ORIGIN/' -DARCH_OPT_FLAGS='-Wno-error' -DDNNL_BUILD_EXAMPLES=OFF -DDNNL_BUILD_TESTS=OFF -DDNNL_CPU_RUNTIME=$DNNL_CPU_RUNTIME -DTBBROOT=$INSTALL_PATH -DDNNL_GPU_RUNTIME=$DNNL_GPU_RUNTIME -DONEDNN_BUILD_GRAPH=OFF . make -j $MAKEJ make install/strip