simonsobs / pixell

A rectangular pixel map manipulation and harmonic analysis library derived from Sigurd Naess' enlib.
Other
42 stars 32 forks source link

Dev compile for when M chip exists. #262

Closed iparask closed 6 days ago

iparask commented 4 months ago

This is more for when someone installs pixell on a new Macbook for development. It does not replace the wheels that exist.

Meson will now check if the system is a MacBook with an M chip. When OpenMP is not found it will just compile without it. If the system is Linux or Intel based Mac it will error out. The same with windows because they are not supported.

If OpenMP is found, then all is well and it will continue as expected.

It also fixes another incompatibility error because of clang.

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 38.79%. Comparing base (1f52ada) to head (8d05e6d). Report is 22 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #262 +/- ## ======================================= Coverage 38.79% 38.79% ======================================= Files 28 28 Lines 9799 9799 ======================================= Hits 3802 3802 Misses 5997 5997 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.