Comments (5)
CC: @ocaml/opam-repository
from opam-repository.
Jeremie deleted his old GitHub account - we'll need to point to a cached copy of it.
from opam-repository.
From my .opam cache (md5 faccda3b3ab092fa9ac7d5d4d8beb004
)
diff --git a/configure b/configure
index d45e88f70fc..25d872b60d8 100755
--- a/configure
+++ b/configure
@@ -322,7 +322,14 @@ case "$bytecc,$target" in
bytecccompopts="-fno-defer-pop $gcc_warnings -DSHRINKED_GNUC"
mathlib="";;
*,*-*-darwin*)
- bytecccompopts="-fno-defer-pop $gcc_warnings"
+ # On recent version of OSX, gcc is a symlink to clang
+ if $bytecc --version | grep -q clang; then
+ # -fno-defer-pop is not supported by clang, and make recent
+ # versions of clang to fail
+ bytecccompopts="$gcc_warnings"
+ else
+ bytecccompopts="-fno-defer-pop $gcc_warnings"
+ fi
mathlib=""
mkexe="$mkexe -Wl,-no_compact_unwind"
# Tell gcc that we can use 32-bit code addresses for threaded code
from opam-repository.
This should now be fixed.
Moreover,
setup-ocaml
doesn't work with older versions of OCaml (<= 3.12), but this is not new as far as I can tell.* With 3.07, it fails with the message `Error: No OCaml base compiler packages matched the version 3.07 in the opam-repository.`, whereas `opam switch create 3.07` should work as expected (https://github.com/thierry-martinez/stdcompat/runs/7952973003?check_suite_focus=true). * With OCaml 3.08 to 3.12, it seems to fail because it tries to install `opam-depext` which requires OCaml >= 4.00.
I think these should be fixed in setup-ocaml. Could you open a new issue there for that?
from opam-repository.
Thank you very much for the quick fix! I reposted in setup-ocaml
the part of the issue relative to OCaml ≤ 3.12 (ocaml/setup-ocaml#615).
from opam-repository.
Related Issues (20)
- two CI runs failing to install camlbuild.0.14.2+win HOT 7
- can't install Why3-coq on Ocaml 5 HOT 2
- Packages depending only on a C compiler HOT 2
- Menhir archive for version 20230608 missing HOT 1
- Installing Ocaml 4.10.2 gives bad checksum error HOT 5
- Building lablgtk fails with the error: ocamlfind: sourceView2Enums.ml: No such file or directory HOT 8
- Checksum error while installing ocaml-variant 4.11.2+spacetime HOT 2
- ERROR while compiling conf-sqlite3.1 HOT 1
- Consider marking base.v0.16.2 as unavailable with MSVC HOT 3
- Package base58 has two versions from two different projects HOT 4
- Package `leaflet` has a bad checksum
- Cannot compile ocaml-base-compiler.4.10.0 under MSVC+Cygwin HOT 7
- Is the opam-ci test-apparatus having problems these last two weeks?
- mccs packages prior to 1+14 fail to install on ci
- conf-lua is broken on Debian and derivatives HOT 1
- Old result packages shadows the `Result` modules for newer builds HOT 4
- gsl fails to install since recently HOT 9
- ERROR while compiling llvm.15.0.7+nnp-2 HOT 3
- conf-openblas failing to install on Manjaro 23 HOT 4
- Patch to make dypgen compile with latest versions of ocaml HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opam-repository.