daml/infra/macos/m1-build
Edward Newman 8e44f3b8bf
M1 build setup using Packer & Tart (#14635)
* M1 build setup using Packer

* Add change log

CHANGELOG_BEGIN
CHANGELOG_END

* Update infra/macos/m1-build/init-2.sh

Co-authored-by: Gary Verhaegen <gary.verhaegen@digitalasset.com>

Co-authored-by: Gary Verhaegen <gary.verhaegen@digitalasset.com>
2022-08-17 07:57:22 -04:00
..
daml-build.pkr.hcl M1 build setup using Packer & Tart (#14635) 2022-08-17 07:57:22 -04:00
init-1.sh M1 build setup using Packer & Tart (#14635) 2022-08-17 07:57:22 -04:00
init-2.sh M1 build setup using Packer & Tart (#14635) 2022-08-17 07:57:22 -04:00
init-3.sh M1 build setup using Packer & Tart (#14635) 2022-08-17 07:57:22 -04:00
README.md M1 build setup using Packer & Tart (#14635) 2022-08-17 07:57:22 -04:00

Daml logo

Download License Build

Copyright (c) 2022 Digital Asset (Switzerland) GmbH and/or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0

Build using Apple Mac OS on M1

Pre-requisites

brew install packer
brew install cirruslabs/cli/tart

initial Base Image

tart create --from-ipsw=latest monterey-base
tart run monterey-base

Follow steps under create from Scratch: https://github.com/cirruslabs/tart

Build Node using Packer

packer build -only=init-1.tart-cli.init-1 daml-build.pkr.hcl
packer build -only=init-2.tart-cli.init-2 daml-build.pkr.hcl
packer build -only=init-3.tart-cli.init-3 daml-build.pkr.hcl