alex@Julia ngsolve-build % cmake -DUSE_PYTHON=OFF -DUSE_NATIVE_ARCH=OFF $NGROOT/ngsolve-src -- Found Git: /usr/bin/git (found version "2.24.3 (Apple Git-128)") -- The C compiler identification is AppleClang 12.0.0.12000032 -- The CXX compiler identification is AppleClang 12.0.0.12000032 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Build Netgen from git submodule Configure Netgen from submodule... Checking for write permissions in install directory... -- The C compiler identification is AppleClang 12.0.0.12000032 -- The CXX compiler identification is AppleClang 12.0.0.12000032 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done Checking for write permissions in install directory... -- Found ZLIB: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk/usr/lib/libz.tbd (found version "1.2.11") -- Configuring done -- Generating done -- Build files have been written to: /Users/alex/ngtest/ngsolve-build/netgen -- Configuring done -- Generating done -- Build files have been written to: /Users/alex/ngtest/ngsolve-build alex@Julia ngsolve-build % make Scanning dependencies of target netgen_project [ 3%] Creating directories for 'netgen_project' [ 7%] No download step for 'netgen_project' [ 11%] No update step for 'netgen_project' [ 15%] No patch step for 'netgen_project' [ 19%] No configure step for 'netgen_project' [ 23%] Performing build step for 'netgen_project' Scanning dependencies of target project_tcl [ 2%] Creating directories for 'project_tcl' [ 5%] Performing download step (download, verify and extract) for 'project_tcl' -- project_tcl download command succeeded. See also /Users/alex/ngtest/ngsolve-build/netgen/dependencies/src/project_tcl-stamp/project_tcl-download-*.log [ 8%] No update step for 'project_tcl' [ 11%] No patch step for 'project_tcl' [ 14%] Performing configure step for 'project_tcl' -- project_tcl configure command succeeded. See also /Users/alex/ngtest/ngsolve-build/netgen/dependencies/src/project_tcl-stamp/project_tcl-configure-*.log [ 17%] Performing build step for 'project_tcl' -- project_tcl build command succeeded. See also /Users/alex/ngtest/ngsolve-build/netgen/dependencies/src/project_tcl-stamp/project_tcl-build-*.log [ 20%] Performing install step for 'project_tcl' -- project_tcl install command succeeded. See also /Users/alex/ngtest/ngsolve-build/netgen/dependencies/src/project_tcl-stamp/project_tcl-install-*.log [ 23%] Completed 'project_tcl' [ 23%] Built target project_tcl Scanning dependencies of target project_tk [ 26%] Creating directories for 'project_tk' [ 29%] Performing download step (download, verify and extract) for 'project_tk' -- project_tk download command succeeded. See also /Users/alex/ngtest/ngsolve-build/netgen/dependencies/src/project_tk-stamp/project_tk-download-*.log [ 32%] No update step for 'project_tk' [ 35%] No patch step for 'project_tk' [ 38%] Performing configure step for 'project_tk' -- project_tk configure command succeeded. See also /Users/alex/ngtest/ngsolve-build/netgen/dependencies/src/project_tk-stamp/project_tk-configure-*.log [ 41%] Performing build step for 'project_tk' -- project_tk build command succeeded. See also /Users/alex/ngtest/ngsolve-build/netgen/dependencies/src/project_tk-stamp/project_tk-build-*.log [ 44%] Performing install step for 'project_tk' -- project_tk install command succeeded. See also /Users/alex/ngtest/ngsolve-build/netgen/dependencies/src/project_tk-stamp/project_tk-install-*.log [ 47%] Completed 'project_tk' [ 47%] Built target project_tk Scanning dependencies of target project_tkdnd [ 50%] Creating directories for 'project_tkdnd' [ 52%] Performing download step (download, verify and extract) for 'project_tkdnd' -- project_tkdnd download command succeeded. See also /Users/alex/ngtest/ngsolve-build/netgen/dependencies/src/project_tkdnd-stamp/project_tkdnd-download-*.log [ 55%] No update step for 'project_tkdnd' [ 58%] Performing patch step for 'project_tkdnd' patching file CMakeLists.txt [ 61%] Performing configure step for 'project_tkdnd' -- project_tkdnd configure command succeeded. See also /Users/alex/ngtest/ngsolve-build/netgen/dependencies/src/project_tkdnd-stamp/project_tkdnd-configure-*.log [ 64%] Performing build step for 'project_tkdnd' -- project_tkdnd build command succeeded. See also /Users/alex/ngtest/ngsolve-build/netgen/dependencies/src/project_tkdnd-stamp/project_tkdnd-build-*.log [ 67%] Performing install step for 'project_tkdnd' -- project_tkdnd install command succeeded. See also /Users/alex/ngtest/ngsolve-build/netgen/dependencies/src/project_tkdnd-stamp/project_tkdnd-install-*.log [ 70%] Completed 'project_tkdnd' [ 70%] Built target project_tkdnd Scanning dependencies of target netgen [ 73%] Creating directories for 'netgen' [ 76%] No download step for 'netgen' [ 79%] No update step for 'netgen' [ 82%] No patch step for 'netgen' [ 85%] Performing configure step for 'netgen' Checking for write permissions in install directory... -- The C compiler identification is AppleClang 12.0.0.12000032 -- The CXX compiler identification is AppleClang 12.0.0.12000032 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Git: /usr/bin/git (found version "2.24.3 (Apple Git-128)") -- Looking for include file dlfcn.h -- Looking for include file dlfcn.h - found -- Found Tclsh: /usr/bin/tclsh (found version "8.5") -- Found TCL: /Applications/Netgen.app/Contents/Frameworks/Tcl.framework (Required is at least version "8.5") -- Found TCLTK: /Applications/Netgen.app/Contents/Frameworks/Tcl.framework -- Found TK: /Applications/Netgen.app/Contents/Frameworks/Tk.framework -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Found OpenGL: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk/System/Library/Frameworks/OpenGL.framework grep: /etc/lsb-release: No such file or directory ------------------------------------------------------------------------ Netgen : Automatic configuration OK. Build type: RelWithDebInfo Flags: -O2 -g -DNDEBUG Enabled functionality: OCC: ............... OFF JPEGlib: ........... OFF FFMPEG: ............ OFF GUI: ............... ON MPI: ............... OFF PYTHON: ............ OFF Building: Type 'make' to compile Netgen. Type 'make install' to install Netgen. Install directory: /Applications/Netgen.app Please set the following environment variables: NETGENDIR=/Applications/Netgen.app/bin ------------------------------------------------------------------------ -- Configuring done CMake Warning (dev) in CMakeLists.txt: Policy CMP0070 is not set: Define file(GENERATE) behavior for relative paths. Run "cmake --help-policy CMP0070" for policy details. Use the cmake_policy command to set the policy and suppress this warning. file(GENERATE) given relative OUTPUT path: netgen_config.hpp This is not defined behavior unless CMP0070 is set to NEW. For compatibility with older versions of CMake, the previous undefined behavior will be used. This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) in CMakeLists.txt: Policy CMP0070 is not set: Define file(GENERATE) behavior for relative paths. Run "cmake --help-policy CMP0070" for policy details. Use the cmake_policy command to set the policy and suppress this warning. file(GENERATE) given relative OUTPUT path: netgen_config.hpp This is not defined behavior unless CMP0070 is set to NEW. For compatibility with older versions of CMake, the previous undefined behavior will be used. This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) in CMakeLists.txt: Policy CMP0070 is not set: Define file(GENERATE) behavior for relative paths. Run "cmake --help-policy CMP0070" for policy details. Use the cmake_policy command to set the policy and suppress this warning. file(GENERATE) given relative OUTPUT path: netgen_config.hpp This is not defined behavior unless CMP0070 is set to NEW. For compatibility with older versions of CMake, the previous undefined behavior will be used. This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) in CMakeLists.txt: Policy CMP0070 is not set: Define file(GENERATE) behavior for relative paths. Run "cmake --help-policy CMP0070" for policy details. Use the cmake_policy command to set the policy and suppress this warning. file(GENERATE) given relative OUTPUT path: netgen_config.hpp This is not defined behavior unless CMP0070 is set to NEW. For compatibility with older versions of CMake, the previous undefined behavior will be used. This warning is for project developers. Use -Wno-dev to suppress it. -- Generating done CMake Warning: Manually-specified variables were not used by the project: INSTALL_DEPENDENCIES -- Build files have been written to: /Users/alex/ngtest/ngsolve-build/netgen/netgen [ 88%] Performing check_submodules1 step for 'netgen' [ 91%] Performing check_submodules step for 'netgen' [ 94%] Performing build step for 'netgen' Scanning dependencies of target ng_generate_version_file -- Found Git: /usr/bin/git (found version "2.24.3 (Apple Git-128)") [ 0%] Built target ng_generate_version_file Scanning dependencies of target ngcore [ 1%] Building CXX object libsrc/core/CMakeFiles/ngcore.dir/archive.cpp.o In file included from /Users/alex/ngtest/ngsolve-src/external_dependencies/netgen/libsrc/core/archive.cpp:2: In file included from /Users/alex/ngtest/ngsolve-src/external_dependencies/netgen/libsrc/core/archive.hpp:18: In file included from /Users/alex/ngtest/ngsolve-src/external_dependencies/netgen/libsrc/core/logging.hpp:12: In file included from /Users/alex/ngtest/ngsolve-src/external_dependencies/netgen/libsrc/core/utils.hpp:14: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/x86intrin.h:13: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/ia32intrin.h:188:10: error: use of undeclared identifier '__builtin_ia32_readeflags_u32' return __builtin_ia32_readeflags_u32(); ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/ia32intrin.h:194:3: error: use of undeclared identifier '__builtin_ia32_writeeflags_u32' __builtin_ia32_writeeflags_u32(__f); ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/ia32intrin.h:284:10: error: use of undeclared identifier '__builtin_ia32_crc32qi' return __builtin_ia32_crc32qi(__C, __D); ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/ia32intrin.h:305:10: error: use of undeclared identifier '__builtin_ia32_crc32hi'; did you mean '__builtin_arm_crc32h'? return __builtin_ia32_crc32hi(__C, __D); ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/ia32intrin.h:305:10: note: '__builtin_arm_crc32h' declared here /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/ia32intrin.h:326:10: error: use of undeclared identifier '__builtin_ia32_crc32si' return __builtin_ia32_crc32si(__C, __D); ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/ia32intrin.h:354:10: error: use of undeclared identifier '__builtin_ia32_rdpmc'; did you mean '__builtin_arm_dmb'? return __builtin_ia32_rdpmc(__A); ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/ia32intrin.h:354:10: note: '__builtin_arm_dmb' declared here /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/ia32intrin.h:354:10: error: argument to '__builtin_arm_dmb' must be a constant integer return __builtin_ia32_rdpmc(__A); ^ ~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/ia32intrin.h:360:10: error: use of undeclared identifier '__builtin_ia32_rdtscp'; did you mean '__builtin_arm_rsrp'? return __builtin_ia32_rdtscp(__A); ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/ia32intrin.h:360:10: note: '__builtin_arm_rsrp' declared here /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/ia32intrin.h:360:32: error: cannot initialize a parameter of type 'const char *' with an lvalue of type 'unsigned int *' return __builtin_ia32_rdtscp(__A); ^~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/ia32intrin.h:369:3: error: use of undeclared identifier '__builtin_ia32_wbinvd' __builtin_ia32_wbinvd(); ^ In file included from /Users/alex/ngtest/ngsolve-src/external_dependencies/netgen/libsrc/core/archive.cpp:2: In file included from /Users/alex/ngtest/ngsolve-src/external_dependencies/netgen/libsrc/core/archive.hpp:18: In file included from /Users/alex/ngtest/ngsolve-src/external_dependencies/netgen/libsrc/core/logging.hpp:12: In file included from /Users/alex/ngtest/ngsolve-src/external_dependencies/netgen/libsrc/core/utils.hpp:14: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/x86intrin.h:15: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/immintrin.h:14: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:33:5: error: use of undeclared identifier '__builtin_ia32_emms'; did you mean '__builtin_isless'? __builtin_ia32_emms(); ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/math.h:647:12: note: '__builtin_isless' declared here return isless(__lcpp_x, __lcpp_y); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk/usr/include/math.h:545:22: note: expanded from macro 'isless' #define isless(x, y) __builtin_isless((x),(y)) ^ In file included from /Users/alex/ngtest/ngsolve-src/external_dependencies/netgen/libsrc/core/archive.cpp:2: In file included from /Users/alex/ngtest/ngsolve-src/external_dependencies/netgen/libsrc/core/archive.hpp:18: In file included from /Users/alex/ngtest/ngsolve-src/external_dependencies/netgen/libsrc/core/logging.hpp:12: In file included from /Users/alex/ngtest/ngsolve-src/external_dependencies/netgen/libsrc/core/utils.hpp:14: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/x86intrin.h:15: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/immintrin.h:14: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:33:25: error: too few arguments to function call, expected 2, have 0 __builtin_ia32_emms(); ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:50:19: error: use of undeclared identifier '__builtin_ia32_vec_init_v2si' return (__m64)__builtin_ia32_vec_init_v2si(__i, 0); ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:67:12: error: use of undeclared identifier '__builtin_ia32_vec_ext_v2si' return __builtin_ia32_vec_ext_v2si((__v2si)__m, 0); ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:129:19: error: use of undeclared identifier '__builtin_ia32_packsswb' return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2); ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:159:19: error: use of undeclared identifier '__builtin_ia32_packssdw' return (__m64)__builtin_ia32_packssdw((__v2si)__m1, (__v2si)__m2); ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:189:19: error: use of undeclared identifier '__builtin_ia32_packuswb' return (__m64)__builtin_ia32_packuswb((__v4hi)__m1, (__v4hi)__m2); ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:216:19: error: use of undeclared identifier '__builtin_ia32_punpckhbw' return (__m64)__builtin_ia32_punpckhbw((__v8qi)__m1, (__v8qi)__m2); ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:239:19: error: use of undeclared identifier '__builtin_ia32_punpckhwd' return (__m64)__builtin_ia32_punpckhwd((__v4hi)__m1, (__v4hi)__m2); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [libsrc/core/CMakeFiles/ngcore.dir/archive.cpp.o] Error 1 make[7]: *** [libsrc/core/CMakeFiles/ngcore.dir/all] Error 2 make[6]: *** [all] Error 2 make[5]: *** [dependencies/src/netgen-stamp/netgen-build] Error 2 make[4]: *** [CMakeFiles/netgen.dir/all] Error 2 make[3]: *** [all] Error 2 make[2]: *** [dependencies/Stamp/netgen_project/netgen_project-build] Error 2 make[1]: *** [CMakeFiles/netgen_project.dir/all] Error 2 make: *** [all] Error 2