From 3a7e586a7c882347259c0c5cfd85d46410cbb271 Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Fri, 29 Oct 2021 17:48:21 +0200 Subject: [PATCH] bos #18711: -DUSE_NATIVE_ARCH=OFF --- products/compil_scripts/netgen-6.2.2101.bat | 1 + products/netgen.pyconf | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/products/compil_scripts/netgen-6.2.2101.bat b/products/compil_scripts/netgen-6.2.2101.bat index c328994..06e97bf 100644 --- a/products/compil_scripts/netgen-6.2.2101.bat +++ b/products/compil_scripts/netgen-6.2.2101.bat @@ -90,6 +90,7 @@ set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DOCC_LIBRARY_DIR=%CASROOT:\=/%/win64/vc14/lib set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DZLIB_ROOT_DIR=%ZLIB_DIR:\=/% set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DZLIB_INCLUDE_DIR=%ZLIB_INCLUDE_DIR:\=/% set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DUSE_SUPERBUILD=OFF +set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DUSE_NATIVE_ARCH=OFF set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DCMAKE_CXX_STANDARD=17 set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DCMAKE_INSTALL_PREFIX=%PRODUCT_INSTALL:\=/% set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DCMAKE_BUILD_TYPE=%PRODUCT_BUILD_TYPE% diff --git a/products/netgen.pyconf b/products/netgen.pyconf index 738ddfd..7ecc757 100644 --- a/products/netgen.pyconf +++ b/products/netgen.pyconf @@ -27,7 +27,7 @@ default_win: version_6_2_2101 : { build_source : "cmake" - cmake_options : "cmake -DUSE_GUI=OFF -DUSE_PYTHON=OFF -DUSE_MPI=OFF -DUSE_OCC=ON -DUSE_INTERNAL_TCL=OFF -DBUILD_STUB_FILES=OFF -DOCC_INCLUDE_DIR=$CAS_ROOT_DIR/include/opencascade -DOCC_LIBRARY_DIR=$CAS_ROOT_DIR/lib -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_CXX_STANDARD=17 " + cmake_options : "cmake -DUSE_GUI=OFF -DUSE_PYTHON=OFF -DUSE_MPI=OFF -DUSE_OCC=ON -DUSE_INTERNAL_TCL=OFF -DBUILD_STUB_FILES=OFF -DOCC_INCLUDE_DIR=$CAS_ROOT_DIR/include/opencascade -DOCC_LIBRARY_DIR=$CAS_ROOT_DIR/lib -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_CXX_STANDARD=17 -DUSE_NATIVE_ARCH=OFF " patches : ['netgen62ForSalome.patch'] } -- 2.39.2