You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a working llvm 7 installation on the machine which is in my path and can be run from cygwin:
$ llvm-config.exe --version
7.0.0
Using opam, I was able to install the other dependencies for llvm including conf-cmake and conf-llvm along with one other i think.
Here is the output of opam install llvm
$ opam install llvm
The following actions will be performed:
∗ install llvm 7.0.0
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[llvm.7.0.0] found in cache
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] The installation of llvm failed at "bash -ex install.sh llvm-config F:/Users/Travis/AppData/Local/OCaml64/home/Travis/.opam/ocaml-variants.4.07.1+mingw64c/lib cmake make".
#=== ERROR while installing llvm.7.0.0 ========================================## context 2.0.3 | win32/x86_64 | ocaml-variants.4.07.1+mingw64c | git://github.com/fdopen/opam-repository-mingw.git#opam2# path ~/.opam/ocaml-variants.4.07.1+mingw64c/.opam-switch/build/llvm.7.0.0# command F:\Users\Travis\AppData\Local\OCaml64\bin\bash.exe -ex install.sh llvm-config F:/Users/Travis/AppData/Local/OCaml64/home/Travis/.opam/ocaml-variants.4.07.1+mingw64c/lib cmake make# exit-code 2# env-file ~/.opam/log/llvm-1892-05296d.env# output-file ~/.opam/log/llvm-1892-05296d.out### output #### [...]# -- Generating done# CMake Warning:# Manually-specified variables were not used by the project:## LLVM_OCAML_EXTERNAL_LLVM_LIBDIR# LLVM_OCAML_INSTALL_PATH# LLVM_OCAML_OUT_OF_TREE### -- Build files have been written to: F:/Users/Travis/AppData/Local/OCaml64/home/Travis/.opam/ocaml-variants.4.07.1+mingw64c/.opam-switch/build/llvm.7.0.0/build# + make ocaml_all# make: *** No rule to make target 'ocaml_all'. Stop.
Not sure if its related, but when I run opam update, i'm getting this error:
$ opam update
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git://github.com/fdopen/opam-repository-mingw.git#opam2
[ERROR] Could not update repository "default":
"F:\\Users\\Travis\\AppData\\Local\\OCaml64\\bin\\patch.exe -p1 -i /home/Travis/.opam/log/processed-patch-3444-42bb52" exited with code 2
Does the error with opam update occur every single time you do an opam update - if so, please could you open an issue on https://github.com/ocaml/opam/issues and we'll go from there.
I'm following along with https://llvm.org/docs/tutorial/OCamlLangImpl7.html and want to be able to
I have a working llvm 7 installation on the machine which is in my path and can be run from cygwin:
Using opam, I was able to install the other dependencies for llvm including conf-cmake and conf-llvm along with one other i think.
Here is the output of
opam install llvm
Not sure if its related, but when I run
opam update
, i'm getting this error:Does anyone understand whats going on here? Is this the correct place to post this issue? Any suggestions or advice are greatly appreciated.
The text was updated successfully, but these errors were encountered: