Hi Joachim,
I recently got one of the new computers and I'll take a stab at this. I'll follow along with the instructions
here
.
I will post back with updates.
Alex
EDIT 2:
Python was support was not a core requirement right now, I wanted it to compile so I turned it off with
Code:
cmake -DUSE_PYTHON=OFF $NGROOT/ngsolve-src
to focus on just the c++ version.
the cmake command now works without crashing. The same can't me said about make:
Code:
-- Found Git: /usr/bin/git (found version "2.24.3 (Apple Git-128)")
[ 0%] Built target ng_generate_version_file
[ 1%] Building CXX object libsrc/core/CMakeFiles/ngcore.dir/archive.cpp.o
clang: error: the clang compiler does not support '-march=native'
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
I don't know what to replace '-march=native' with.
EDIT 1:
Having problems with the "cmake $NGROOT/ngsolve-src"
Code:
CMake Error at /usr/local/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:218 (message):
Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS)
(Required is at least version "3")
Call Stack (most recent call first):
/usr/local/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:577 (_FPHSA_FAILURE_MESSAGE)
/usr/local/share/cmake-3.19/Modules/FindPythonLibs.cmake:310 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
cmake/SuperBuild.cmake:54 (find_package)
CMakeLists.txt:73 (include)
The python headers (PythonLibs) are usually handled by installing python through Homebrew (mac's 3rd party package manager), but Homebrew is not yet available been updated to the new architecture (
and it might take a while
).
I am going to see how homebrew usually installs those headers and see if I can do it manually.
That, or if anyone has ideas I am open to them.