Displaying 2 results from an estimated 2 matches for "use_llvm".
2023 Aug 13
2
a quick and dirty way to compile R on win arm64 using clangarm64
...I tried compile R-trunk on windows 11 arm64 using clangarm64+msys2 on macbook m1 , it surprisingly easy to compiled and run.
more investigation and test and code modify need to be done ,but IMO this is a good beginning !!
to compile R on windows 11 arm64 just need :
1 svn checkout R-trunk and add USE_LLVM=YES in MKRules.dist or Mkrules.local
2 install msys2 and clangarm64 package
mingw-w64-clang-aarch64-brotli 1.0.9-6
mingw-w64-clang-aarch64-bzip2 1.0.8-2
mingw-w64-clang-aarch64-c-ares 1.19.1-1
mingw-w64-clang-aarch64-ca-certificates 20230311-1
mingw-w64-clang-aarch64-clang 16.0.5-3
mingw-w64-c...
2010 Jun 27
0
[LLVMdev] ocaml bindings + ocamlbuild problem
...s dependency on Unix, so it doesn't compile. Minimal
case:
(* FILE: minimal.ml *)
let main () =
let m = Llvm.create_module (Llvm.global_context ()) "test" in
ignore (Llvm_bitwriter.output_bitcode stdout m)
;;
main ()
(* FILE: _tags *)
<*.{byte,native}>: g++, use_unix, use_llvm, use_llvm_bitwriter
(* FILE: myocamlbuild.ml *)
open Ocamlbuild_plugin;;
ocaml_lib ~extern:true "llvm";;
ocaml_lib ~extern:true "llvm_bitwriter";;
flag ["link"; "ocaml"; "g++"] (S[A"-cc"; A"g++"]);;
I try to compile with the...