Преглед изворни кода

Do not build stdlib/bigint.c while it cannot be built with llvm 14

Signed-off-by: Sean Young <sean@mess.org>
Sean Young пре 2 година
родитељ
комит
d100f54873
1 измењених фајлова са 3 додато и 10 уклоњено
  1. 3 10
      Dockerfile

+ 3 - 10
Dockerfile

@@ -1,16 +1,9 @@
-# On Alpine linux, the build fails with:
-# error: cannot produce proc-macro for `serde_derive v1.0.102` as the target `x86_64-unknown-linux-musl` does not support these crate types
-# See https://github.com/rust-lang/cargo/issues/5266
-
-# Fedora 30 produces a builder image 2.01 GiB and solang image of 294 MiB
-# Ubuntu 18.04 produces a builder image 1.53 GiB and solang image of 84 MiB
-# Debian Buster produces a builder image 2.04 GiB
-
 FROM ghcr.io/hyperledger/solang:ci as builder
 
 COPY . src
-WORKDIR /src/stdlib/
-RUN make
+# TODO: bigint.c does not compile with llvm 14.0, disable for now
+# WORKDIR /src/stdlib/
+# RUN make
 
 RUN rustup default 1.64.0