@@ -66,7 +66,9 @@ test-safety:
66
66
67
67
# Creates a release build in a containerized build environment of the static library for Alpine Linux (.a)
68
68
release-build-alpine :
69
- rm -rf libwasmvm/target/release
69
+ # Builders should not write their target folder into the host file system (https://github.com/CosmWasm/wasmvm/issues/437)
70
+ rm -rf libwasmvm/target/aarch64-unknown-linux-musl/release
71
+ rm -rf libwasmvm/target/x86_64-unknown-linux-musl/release
70
72
# build the muslc *.a file
71
73
docker run --rm -u $(USER_ID ) :$(USER_GROUP ) -v $(shell pwd) /libwasmvm:/code $(BUILDERS_PREFIX ) -alpine
72
74
cp libwasmvm/artifacts/libwasmvm_muslc.a internal/api
@@ -75,14 +77,17 @@ release-build-alpine:
75
77
76
78
# Creates a release build in a containerized build environment of the shared library for glibc Linux (.so)
77
79
release-build-linux :
78
- rm -rf libwasmvm/target/release
80
+ # Builders should not write their target folder into the host file system (https://github.com/CosmWasm/wasmvm/issues/437)
81
+ rm -rf libwasmvm/target/x86_64-unknown-linux-gnu/release
82
+ rm -rf libwasmvm/target/aarch64-unknown-linux-gnu/release
79
83
docker run --rm -u $(USER_ID ) :$(USER_GROUP ) -v $(shell pwd) /libwasmvm:/code $(BUILDERS_PREFIX ) -centos7 build_linux.sh
80
84
cp libwasmvm/artifacts/libwasmvm.x86_64.so internal/api
81
85
cp libwasmvm/artifacts/libwasmvm.aarch64.so internal/api
82
86
make update-bindings
83
87
84
88
# Creates a release build in a containerized build environment of the shared library for macOS (.dylib)
85
89
release-build-macos :
90
+ # Builders should not write their target folder into the host file system (https://github.com/CosmWasm/wasmvm/issues/437)
86
91
rm -rf libwasmvm/target/x86_64-apple-darwin/release
87
92
rm -rf libwasmvm/target/aarch64-apple-darwin/release
88
93
docker run --rm -u $(USER_ID ) :$(USER_GROUP ) -v $(shell pwd) /libwasmvm:/code $(BUILDERS_PREFIX ) -cross build_macos.sh
@@ -91,6 +96,7 @@ release-build-macos:
91
96
92
97
# Creates a release build in a containerized build environment of the static library for macOS (.a)
93
98
release-build-macos-static :
99
+ # Builders should not write their target folder into the host file system (https://github.com/CosmWasm/wasmvm/issues/437)
94
100
rm -rf libwasmvm/target/x86_64-apple-darwin/release
95
101
rm -rf libwasmvm/target/aarch64-apple-darwin/release
96
102
docker run --rm -u $(USER_ID ) :$(USER_GROUP ) -v $(shell pwd) /libwasmvm:/code $(BUILDERS_PREFIX ) -cross build_macos_static.sh
@@ -99,7 +105,8 @@ release-build-macos-static:
99
105
100
106
# Creates a release build in a containerized build environment of the shared library for Windows (.dll)
101
107
release-build-windows :
102
- rm -rf libwasmvm/target/release
108
+ # Builders should not write their target folder into the host file system (https://github.com/CosmWasm/wasmvm/issues/437)
109
+ rm -rf libwasmvm/target/x86_64-pc-windows-gnu/release
103
110
docker run --rm -u $(USER_ID ) :$(USER_GROUP ) -v $(shell pwd) /libwasmvm:/code $(BUILDERS_PREFIX ) -cross build_windows.sh
104
111
cp libwasmvm/target/x86_64-pc-windows-gnu/release/wasmvm.dll internal/api
105
112
make update-bindings
0 commit comments