mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-19 16:57:40 +03:00
Document how to x64 binaries on M1 MacOS. (#14138)
CHANGELOG_BEGIN CHANGELOG_END Co-authored-by: Andreas Herrmann <andreas.herrmann@tweag.io>
This commit is contained in:
parent
b451edbc66
commit
9ba81d1596
15
README.md
15
README.md
@ -81,6 +81,21 @@ fi
|
||||
```
|
||||
See https://github.com/NixOS/nix/issues/3616 for more information about this issue.
|
||||
|
||||
##### MacOS M1
|
||||
|
||||
The above procedure will use and build native arm64 M1 binaries for this
|
||||
project. However, note that at the time of writing the CI system of the Daml
|
||||
project does not yet include MacOS M1 nodes. Therefore, the M1 configuration is
|
||||
untested on CI, and the remote cache is not populated with native M1 artifacts.
|
||||
|
||||
If you encounter issues with a native M1 build, then you can configure project
|
||||
to build x86-64 binaries instead and run them through Rosetta. To do that
|
||||
replace the contents of the file `nix/system.nix` with the following content:
|
||||
|
||||
```nix
|
||||
"x86_64-darwin"
|
||||
```
|
||||
|
||||
#### Windows
|
||||
|
||||
On Windows you need to enable long file paths by running the following command in an admin powershell:
|
||||
|
Loading…
Reference in New Issue
Block a user