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

fix(IDX): Fix nix MacOs build for rocksdb dependency #993

Merged
merged 1 commit into from
Aug 19, 2024

Conversation

luc-blaeser
Copy link
Contributor

@luc-blaeser luc-blaeser commented Aug 19, 2024

Currently, nix build fails on MacOS saying that the rocksdb dependency is missing. (We still use nix for Motoko's CI.)

I believe, the reason is that macos is not a target family but only a target OS. This change resolves this problem.

@luc-blaeser luc-blaeser self-assigned this Aug 19, 2024
@github-actions github-actions bot added the fix label Aug 19, 2024
@luc-blaeser luc-blaeser changed the title fix(IDX): Fix nix macos build for rocksdb dependency fix(IDX): Fix nix MacOs build for rocksdb dependency Aug 19, 2024
@luc-blaeser luc-blaeser marked this pull request as ready for review August 19, 2024 14:11
@luc-blaeser luc-blaeser added this pull request to the merge queue Aug 19, 2024
Merged via the queue into master with commit 449066c Aug 19, 2024
27 checks passed
@luc-blaeser luc-blaeser deleted the luc/fix-nix-macos-build branch August 19, 2024 15:18
mergify bot pushed a commit to dfinity/motoko that referenced this pull request Sep 9, 2024
Using IC 2024-08-16 with some adjustments:
* `drun` adjustments for better testing
   - dfinity/ic#662 (Lift 8GB memory boundary from drun)
   - dfinity/ic#988 (Enable Wasm64 with 16GB main memory capacity)
   - dfinity/ic#991 (Disable DTS for deterministic debug outputs)
   - dfinity/ic#992 (Increase batch limit for longer running tests)
   - dfinity/ic#1240 (Enable canister snapshots)
* IC build fixes for `nix`:
   - Remove duplicate entries of same crate with same versions in `Cargo.toml`.
   - dfinity/ic#993 (Fix MacOS `rocksdb` dependency).
* Other IC fixes:
   - dfinity/ic#1250 (Fix canister snapshots)
levifeldman pushed a commit to levifeldman/ic that referenced this pull request Oct 1, 2024
Currently, `nix` build fails on MacOS saying that the `rocksdb`
dependency is missing. (We still use `nix` for Motoko's CI.)

I believe, the reason is that `macos` is not a target family but only a
target OS. This change resolves this problem.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants