Skip to content

Commit

Permalink
snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
bobzhang committed Mar 24, 2019
1 parent 955fdeb commit 6663a73
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions jscomp/bin/native_ppx.ml
Expand Up @@ -157,7 +157,7 @@ end = struct
(* The main OCaml version string has moved to ../VERSION *)
let version = Sys.ocaml_version

let standard_library_default = "/Users/hongbozhang/git/bucklescript/vendor/ocaml/lib/ocaml"
let standard_library_default = "/Users/hongbozhang/git/bucklescript/native/lib/ocaml"

let standard_library =

Expand All @@ -167,11 +167,11 @@ let standard_library =

standard_library_default

let standard_runtime = "/Users/hongbozhang/git/bucklescript/vendor/ocaml/bin/ocamlrun"
let standard_runtime = "/Users/hongbozhang/git/bucklescript/native/bin/ocamlrun"
let ccomp_type = "cc"
let bytecomp_c_compiler = "gcc -O -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O "
let bytecomp_c_libraries = "-lcurses -lpthread"
let native_c_compiler = "gcc -O -D_FILE_OFFSET_BITS=64 -D_REENTRANT"
let bytecomp_c_compiler = "gcc -O -Wall -D_FILE_OFFSET_BITS=64 -O "
let bytecomp_c_libraries = ""
let native_c_compiler = "gcc -O -D_FILE_OFFSET_BITS=64"
let native_c_libraries = ""
let native_pack_linker = "ld -r -arch x86_64 -o "
let ranlib = "ranlib"
Expand Down Expand Up @@ -227,7 +227,7 @@ let default_executable_name =
| "Win32" | "Cygwin" -> "camlprog.exe"
| _ -> "camlprog"

let systhread_supported = true;;
let systhread_supported = false;;

let print_config oc =
let p name valu = Printf.fprintf oc "%s: %s\n" name valu in
Expand Down
6 changes: 3 additions & 3 deletions jscomp/vendorConfig.ninja
@@ -1,4 +1,4 @@

ocamlopt = ../vendor/ocaml/bin/ocamlopt.opt
ocamllex = ../vendor/ocaml/bin/ocamllex.opt
ocamlmklib = ../vendor/ocaml/bin/ocamlmklib
ocamlopt = ../native/bin/ocamlopt.opt
ocamllex = ../native/bin/ocamllex.opt
ocamlmklib = ../native/bin/ocamlmklib
2 changes: 1 addition & 1 deletion scripts/ninja.js
Expand Up @@ -75,7 +75,7 @@ var getOcamldepFile = ()=>{
if(useEnv){
return `ocamldep.opt`
} else{
return path.join(__dirname,'..','vendor','ocaml','bin','ocamldep.opt')
return path.join(__dirname,'..','native','bin','ocamldep.opt')
}
}

Expand Down

0 comments on commit 6663a73

Please sign in to comment.