-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compiling on mac m1 the current branch ldpc_v2 #19
Comments
and line 125 in |
Hi Alexandru. Thanks for testing out the new version! It seems as though this a problem specefic to the M1 Macs. The latest commit includes the "-fopenmp" cxx compile flag. Could you check whether it compiles and runs now? I'll integrate the fix into the github action once we've pinpointed the problem. |
Hi Alexandru. Temporary fix (I hope) is to remove OpenMp support. Could you test the latest version on your M1 Mac. You can install from TestPyPi by running the following:
|
Just a side comment, since I noticed the discussion over here. Cross-compilation with external dependencies can be painful. In the meantime we switched to CirrusCI (https://cirrus-ci.org) which offers free native apple silicon runners for open source projects. Works like a charm in combination with the standard GitHub actions to build the regular wheels. |
Hi @burgholzer Thanks. Yes getting the Github actions to work has always been a nightmare. |
apologies for late response. the 'brew install libomp` will work almost out of the box if the paths are added to the cmakefile and setup.py |
In order to compile the version of the branch I had to do the following:
brew install libomp
CMakeLists.txt
to betarget_include_directories(ldpc INTERFACE src_cpp include/robin_map include/rapidcsv /opt/homebrew/opt/libomp/include)
TestDecoder.cpp
lines 347 and 378 -- compiler was complaining about constructorsThe text was updated successfully, but these errors were encountered: