Skip to content

macOS: load REST libraries from lib/ and disable AddressSanitizer by default - #574

Merged
diazovejas merged 4 commits into
masterfrom
jdo_macos
Nov 11, 2026
Merged

diazovejas merged 4 commits into
masterfrom
jdo_macos

Conversation

@diazovejas

@diazovejas diazovejas commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

diazovejas Ok: 15 Powered by Pull Request Badge

Small PR to improve REST support on macOS (tested on M4, macOS Tahoe, ROOT 6.40.04 from Homebrew).

Changes:

  • TRestTools::LoadRESTLibrary: libraries on macOS are located in lib/ instead of bin/.
  • CMakeLists.txt: AddressSanitizer is now disabled by default. Until now it was always enabled on macOS,
    which slowed execution and could crash at exit when REST libraries are loaded together with
    non-instrumented ones (ROOT/TBB). It can still be enabled with -DREST_ASAN=ON.

How to test:

  • Build and install on macOS, source thisREST.sh and run restRoot: libraries load without errors.
  • Linux builds are unchanged by default.

@rest-for-physics/core_dev

@diazovejas
diazovejas requested a review from nkx111 as a code owner October 31, 2026 17:41
@diazovejas
diazovejas merged commit b14358c into master Nov 11, 2026
64 checks passed
@diazovejas
diazovejas deleted the jdo_macos branch November 11, 2026 09:26
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.

3 participants