Skip to content
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

build, depends: fix compilation with XCode 15 #2747

Merged
merged 3 commits into from
Mar 6, 2024

Conversation

div72
Copy link
Member

@div72 div72 commented Mar 4, 2024

No description provided.

The class std::unary_function (which was deprecated in C++11, and
removed in C++17) is finally removed in XCode 15, which causes
compilation errors. This commits sets a macro which causes Boost to
not use the aforementioned class.

Port of upstream commit 880d4aaf81f3d5d7fbb915905c2e61b816a6a747 and
d4c59da8d6e3aac14306249aa12332fed55efebd.
Parallel jobs can cause libzip to have a race condition on mkdir on
Darwin.
@jamescowens
Copy link
Member

jamescowens commented Mar 4, 2024

This is an antecedent to getting a native arm64 macOS runner working for CI/CD, which will provide automatic M1/M2 builds.

@jamescowens
Copy link
Member

utACK.

@jamescowens jamescowens merged commit 9f9df56 into gridcoin-community:development Mar 6, 2024
17 checks passed
jamescowens added a commit to jamescowens/Gridcoin-Research that referenced this pull request Apr 10, 2024
Added
 - build: add option for sanitizers gridcoin-community#2553 (@div72)
 - build: CMake: Initial Windows support (MSYS2) gridcoin-community#2733 (@CyberTailor)

Changed
 - build: enforce SSE2 on x86 targets gridcoin-community#2746 (@div72)
 - consensus: Update checkpoint data for mainnet and testnet gridcoin-community#2756 (@jamescowens)
 - gui, util: Enhance verify checkpoints fail handling; use RegistryBookmarks for DB passivation gridcoin-community#2758 (@jamescowens)

Removed

Fixed
 - build, depends: fix compilation with XCode 15 gridcoin-community#2747 (@div72)
 - Fix man page installation path for cmake builds gridcoin-community#2749 (@theMarix)
 - consensus, mrc, sidestake: add mrc fees to staker to rewards to be allocated via sidestaking gridcoin-community#2753 (@jamescowens)
 - Fix Systemd unit install location gridcoin-community#2754 (@theMarix)
 - scraper: Corrections to scraper_net after removal of cntPartsRcvd decrement and increment gridcoin-community#2755 (@jamescowens)
 - rpc: fix setban segfault gridcoin-community#2757 (@div72)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants