Skip to content
This repository was archived by the owner on Nov 1, 2021. It is now read-only.

Disable OCaml bindings if ctypes >=0.3 is not found #85

Closed
gagern opened this issue Apr 8, 2015 · 3 comments
Closed

Disable OCaml bindings if ctypes >=0.3 is not found #85

gagern opened this issue Apr 8, 2015 · 3 comments

Comments

@gagern
Copy link

gagern commented Apr 8, 2015

Switching from master to incoming, my emsdk fails to build fastcomp:

-- Found OCaml: /usr/bin/ocamlfind  
-- OCaml bindings enabled.
CMake Error at cmake/modules/FindOCaml.cmake:76 (message):
  ocamlfind: Package `ctypes' not found
Call Stack (most recent call first):
  cmake/config-ix.cmake:533 (find_ocamlfind_package)
  CMakeLists.txt:347 (include)

Please either disable OCaml manually or import llvm-mirror/llvm@0245b12 aka SVN r223195, first released in llvm release_36.

@kripken
Copy link
Member

kripken commented Apr 8, 2015

We hope to merge LLVM 3.6 soon, so I think it's best to wait on that and not cherry-pick that commit.

@juj
Copy link
Collaborator

juj commented Apr 22, 2015

Hmm, looks like even after the LLVM 3.6 merge, we don't have that bugfix present (https://github.com/kripken/emscripten-fastcomp/blob/incoming/cmake/config-ix.cmake#L532), so perhaps there's some other commits that we are missing?

@kripken
Copy link
Member

kripken commented Apr 22, 2015

We didn't merge 3.6 release, but the current state of 3.6 trunk that PNaCl was on. When PNaCl merges to LLVM trunk, we will merge them and get this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants