Skip to content

Commit

Permalink
Merge pull request #3056 from iotaledger/fix_mac_cli_build
Browse files Browse the repository at this point in the history
fix: Mac OS ARM build for wasp-cli
  • Loading branch information
lmoe authored Nov 7, 2023
2 parents 49309d8 + ee7933e commit 5e6e717
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ TEST_ARG=
BUILD_PKGS ?= ./ ./tools/cluster/wasp-cluster/
BUILD_CMD=go build -o . -tags $(BUILD_TAGS) -ldflags $(BUILD_LD_FLAGS)
INSTALL_CMD=go install -tags $(BUILD_TAGS) -ldflags $(BUILD_LD_FLAGS)
WASP_CLI_TAGS = no_wasmhost

# Docker image name and tag
DOCKER_IMAGE_NAME=wasp
Expand All @@ -28,7 +29,7 @@ compile-solidity:
cd packages/evm/evmtest && go generate

build-cli:
cd tools/wasp-cli && go mod tidy && go build -ldflags $(BUILD_LD_FLAGS) -o ../../
cd tools/wasp-cli && go mod tidy && go build -ldflags $(BUILD_LD_FLAGS) -tags ${WASP_CLI_TAGS} -o ../../

build-full: build-cli
$(BUILD_CMD) ./...
Expand Down

0 comments on commit 5e6e717

Please sign in to comment.