Try buildx

This commit is contained in:
Michael Hansen
2023-11-06 13:14:26 -06:00
parent cfb193f113
commit d57fda578c
2 changed files with 93 additions and 95 deletions
+5 -2
View File
@@ -1,4 +1,4 @@
.PHONY: clean
.PHONY: clean docker
all:
cmake -Bbuild -DCMAKE_INSTALL_PREFIX=install
@@ -6,5 +6,8 @@ all:
cd build && ctest --config Release
cmake --install build
docker:
docker buildx build . --platform linux/amd64,linux/arm64,linux/arm/v7 --output 'type=local,dest=dist'
clean:
rm -rf build install
rm -rf build install dist