Skip to content

Commit

Permalink
use buildx
Browse files Browse the repository at this point in the history
  • Loading branch information
korniltsev committed Apr 8, 2024
1 parent a109224 commit 845e54d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ffi.mk
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pyroscope_ffi/clean:

.phony: wheel/linux/amd64
wheel/linux/amd64: pyroscope_ffi/clean
docker build \
docker buildx build \
--build-arg=BASE=$(MANYLINUX_PREFIX)_$(BUILD_ARCH_AMD):$(MANYLINUX_VERSION) \
--platform=linux/amd64 \
--output=pyroscope_ffi/python \
Expand All @@ -22,7 +22,7 @@ wheel/linux/amd64: pyroscope_ffi/clean

.phony: wheel/linux/arm64
wheel/linux/arm64: pyroscope_ffi/clean
docker build \
docker buildx build \
--build-arg=BASE=$(MANYLINUX_PREFIX)_$(BUILD_ARCH_ARM):$(MANYLINUX_VERSION) \
--platform=linux/arm64 \
--output=pyroscope_ffi/python \
Expand All @@ -44,7 +44,7 @@ wheel/mac/arm64:

.phony: gem/linux/amd64
gem/linux/amd64: pyroscope_ffi/clean
docker build \
docker buildx build \
--build-arg=BASE=$(MANYLINUX_PREFIX)_$(BUILD_ARCH_AMD):$(MANYLINUX_VERSION) \
--build-arg="TARGET_TASK=x86_64_linux:gem" \
--output=pyroscope_ffi/ruby \
Expand All @@ -54,7 +54,7 @@ gem/linux/amd64: pyroscope_ffi/clean

.phony: gem/linux/arm64
gem/linux/arm64: pyroscope_ffi/clean
docker build \
docker buildx build \
--build-arg=BASE=$(MANYLINUX_PREFIX)_$(BUILD_ARCH_ARM):$(MANYLINUX_VERSION) \
--build-arg="TARGET_TASK=arm64_darwin:gem" \
--output=pyroscope_ffi/ruby \
Expand Down

0 comments on commit 845e54d

Please sign in to comment.