ocaml-bench / sandmark

A benchmark suite for the OCaml compiler
The Unlicense
82 stars 40 forks source link

Benchmark runs seem to be failing due to changes on trunk #471

Closed punchagan closed 2 months ago

punchagan commented 2 months ago

While working on a fix for #470, it looks like another breaking change has been made in https://github.com/ocaml/ocaml/commit/51e5cf226b39986abf03cbaad47cf49a1c35bc69. Packages like base64.3.4.0 fail to compile/install.

#=== ERROR while compiling base64.3.4.0 =======================================#
# context     2.2.0~beta2 | linux/x86_64 | ocaml-variants.5.3.0+trunk | https://opam.ocaml.org/#b502ec76
# path        ~/.opam/ocaml-ocaml-51e5cf226b39986abf03cbaad47cf49a1c35bc69/.opam-switch/build/base64.3.4.0
# command     ~/.opam/opam-init/hooks/sandbox.sh build dune build -p base64 -j 31
# exit-code   1
# env-file    ~/.opam/log/base64-436405-1a5bf6.env
# output-file ~/.opam/log/base64-436405-1a5bf6.out
### output ###
# File "src/dune", line 7, characters 0-126:
#  7 | (rule
#  8 |  (targets unsafe.ml)
#  9 |  (deps (:config ../config/config.exe) unsafe_pre407.ml unsafe_stable.ml)
# 10 |  (action (run %{config})))
# (cd _build/default/src && ../config/config.exe)
# Error: variable "ocamlc_cflags" not found in the output of `/home/punchagan/.opam/ocaml-ocaml-51e5cf226b39986abf03cbaad47cf49a1c35bc69/bin/ocamlc.opt -config`