New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
_build in alt-ergo-lib-2.3.2 release #351
Comments
Hi, |
The https://github.com/OCamlPro/alt-ergo/archive/2.3.2.tar.gz has the |
The release should be done with the PR 16943(ocaml/opam-repository#16943) in opam-repository |
In the $ OPAMROOT=/local/sandmark/_opam /local/sandmark/_opam/opam-init/hooks/sandbox.sh build ./configure alt-ergo-lib The following function in (* Compute actual values for config options *)
let () =
let prefix_set = !prefix ≠ "" in
update "prefix" prefix (fun () -> opam_var "prefix");
update "libdir" libdir (fun () ->
if prefix_set
then Filename.concat !prefix "lib"
else opam_var "lib");
update "sharedir" sharedir (fun () ->
if prefix_set
then Filename.concat !prefix "share"
else opam_var "share");
update "mandir" mandir (fun () ->
if prefix_set
then Filename.concat !prefix "man"
else opam_var "man");
update "pluginsdir" pluginsdir (fun () ->
Filename.concat
(Filename.concat !libdir "alt-ergo") "plugins"
);
update "preludesdir" preludesdir (fun () ->
Filename.concat
(Filename.concat !sharedir "alt-ergo") "preludes"
);
() The minimal example below suffices to throw the error: (* Compute actual values for config options *)
let () =
let prefix_set = !prefix ≠ "" in
update "prefix" prefix (fun () -> opam_var "prefix");
() What could be a possible fix? |
Since a few versions, opam has a concept of local switches (as in, local to a directory). Such local switches are stored in a folder named
|
2.3.3 has been released, hope everything work for you @shakthimaan |
Yes, specifying |
I am trying to build alt-ergo-lib.2.3.2 with dune.2.6.0 and Multicore OCaml 4.10.0 as part of https://github.com/ocaml-bench/sandmark. We use bwrap sandboxing to build packages in a different directory, but, I see that the 2.3.2 release already has a _build/ directory in the release package. Hence, I get the following error when trying to compile alt-ergo-lib.2.3.2:
Is it possible to provide a tarball without the _build directory, or is there a way to clean the _build directory before running
configure
?The text was updated successfully, but these errors were encountered: