Skip to content

Improve macOS ARM build: EPICS/PVA support, Python fixes, and clean test suite#57

Open
drvegabermudez wants to merge 9 commits intojbengtsson:mainfrom
drvegabermudez:feature/epics-build
Open

Improve macOS ARM build: EPICS/PVA support, Python fixes, and clean test suite#57
drvegabermudez wants to merge 9 commits intojbengtsson:mainfrom
drvegabermudez:feature/epics-build

Conversation

@drvegabermudez
Copy link
Copy Markdown

Modernize CMake for macOS ARM: raise minimum versions, quiet policies/Boost, add arm64 EPICS host/target detection, map AppleClang→clang, and wire EPICS compiler/os include paths.

Enable EPICS/PVA and OpenMP: configure TRY_EPICS, remove unused Boost components, set Homebrew libomp paths, and propagate OpenMP includes.

Fix Python integration: switch flame/pyconfig.py to sysconfig (distutils-free), skip nose on Python ≥3.12, add thor shim package and math re-export, and ensure Python extensions build against the installed prefix.

Resolve build blockers: add missing headers, remove unused GSL includes, add override specifiers, correct multipole defaults (B_n/K) and main multipole numbers for bend/sextupole; C++ ctest now passes 34/34.

Docs and install: expand macOS ARM64 README quickstart with full CMake configure line; install artifacts to install/ prefix; build and install gtpsa and thor_scsi Python wheels.

Note remaining Python test gaps: some tests reference a missing external lattice file, expect unexported constants, rely on an unshipped _gtpsa_variant_test, and hit placeholder utilities (jac_intern_to_std, Matrix binding); these need follow-up or test adjustments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant