Page MenuHomePhabricator

[guix] Fix the build for OSX
ClosedPublic

Authored by Fabien on Mar 1 2024, 15:00.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABCb549ecee3b90: [guix] Fix the build for OSX
Summary

This makes it possible to cross build for OSX with GUIX.

Test Plan
HOSTS=x86_64-apple-darwin ./contrib/guix/guix-build

Diff Detail

Repository
rABC Bitcoin ABC
Branch
test_osx_native_clang
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 27577
Build 54717: Build Diffbuild-without-wallet · build-diff · build-debug · build-clang-tidy · build-clang
Build 54716: arc lint + arc unit

Event Timeline

Fix quotes, move unsets to darwin only.
The quotes will cause warnings due to empty strings but it's harmless, and other solutions cause cmake to fail parsing.

Fabien published this revision for review.Mar 1 2024, 17:18
This revision is now accepted and ready to land.Mar 1 2024, 18:55
This revision was automatically updated to reflect the committed changes.