File tree Expand file tree Collapse file tree 7 files changed +7
-10
lines changed Expand file tree Collapse file tree 7 files changed +7
-10
lines changed Original file line number Diff line number Diff line change 1
1
# Builds the Rust library libwasmvm
2
- BUILDERS_PREFIX := cosmwasm/libwasmvm-builder:0102
2
+ BUILDERS_PREFIX := cosmwasm/libwasmvm-builder:0103
3
3
# Contains a full Go dev environment including CGO support in order to run Go tests on the built shared library
4
4
# This image is currently not published.
5
5
ALPINE_TESTER := cosmwasm/alpine-tester:local
Original file line number Diff line number Diff line change 1
1
FROM --platform=linux/amd64 rust:1.82.0-alpine
2
2
3
- RUN apk add --no-cache ca-certificates build-base
3
+ RUN apk add --no-cache ca-certificates build-base llvm17-dev clang17-static
4
4
5
5
# Install C compiler for cross-compilation. This is required by
6
6
# Wasmer in https://github.com/wasmerio/wasmer/blob/2.2.1/lib/vm/build.rs.
Original file line number Diff line number Diff line change 4
4
FROM --platform=linux/amd64 debian:11-slim
5
5
6
6
RUN apt update -y \
7
- && apt install -y gcc make gcc-aarch64-linux-gnu binutils-aarch64-linux-gnu wget
7
+ && apt install -y gcc make gcc-aarch64-linux-gnu binutils-aarch64-linux-gnu wget clang
8
8
9
9
# GET FROM https://github.com/rust-lang/docker-rust-nightly
10
10
ENV RUSTUP_HOME=/usr/local/rustup \
Original file line number Diff line number Diff line change 1
1
# Versioned by a simple counter that is not bound to a specific CosmWasm version
2
2
# See builders/README.md
3
- BUILDERS_PREFIX := cosmwasm/libwasmvm-builder:0102
3
+ BUILDERS_PREFIX := cosmwasm/libwasmvm-builder:0103
4
4
5
5
.PHONY : docker-image-debian
6
6
docker-image-debian :
Original file line number Diff line number Diff line change @@ -7,8 +7,6 @@ export TARGET_DIR="/target" # write to /target in the guest's file system to avo
7
7
# No stripping implemented (see https://github.com/CosmWasm/wasmvm/issues/222#issuecomment-2260007943).
8
8
9
9
echo " Starting aarch64-unknown-linux-gnu build"
10
- export CC=clang
11
- export CXX=clang++
12
10
export qemu_aarch64=" qemu-aarch64 -L /usr/aarch64-linux-gnu"
13
11
export CC_aarch64_unknown_linux_gnu=clang
14
12
export AR_aarch64_unknown_linux_gnu=llvm-ar
Original file line number Diff line number Diff line change @@ -7,9 +7,8 @@ export TARGET_DIR="/target" # write to /target in the guest's file system to avo
7
7
# No stripping implemented (see https://github.com/CosmWasm/wasmvm/issues/222#issuecomment-2260007943).
8
8
9
9
echo " Starting aarch64-unknown-linux-musl build"
10
- export CC =/opt/aarch64-linux-musl-cross/bin/aarch64-linux-musl-gcc
10
+ export CC_aarch64_unknown_linux_musl =/opt/aarch64-linux-musl-cross/bin/aarch64-linux-musl-gcc
11
11
cargo build --release --target-dir=" $TARGET_DIR " --target aarch64-unknown-linux-musl --example wasmvmstatic
12
- unset CC
13
12
14
13
echo " Starting x86_64-unknown-linux-musl build"
15
14
cargo build --release --target-dir=" $TARGET_DIR " --target x86_64-unknown-linux-musl --example wasmvmstatic
Original file line number Diff line number Diff line change @@ -63,6 +63,6 @@ We currently use the following version:
63
63
64
64
| Type | Rust version | Note |
65
65
| ------------------------ | ------------ | --------------------------------- |
66
- | Production Rust compiler | 1.82.0 | Builders version 0102 |
67
- | Min Rust compiler | 1.82.0 | Supports builder versions >= 0102 |
66
+ | Production Rust compiler | 1.82.0 | Builders version 0103 |
67
+ | Min Rust compiler | 1.82.0 | Supports builder versions >= 0103 |
68
68
| Tooling Rust compiler | 1.81.0 | |
You can’t perform that action at this time.
0 commit comments