File tree 1 file changed +13
-14
lines changed
1 file changed +13
-14
lines changed Original file line number Diff line number Diff line change @@ -56,21 +56,20 @@ exports.getVersionPrefix = getVersionPrefix;
56
56
function build ( config ) {
57
57
ensureOCamlExistsSync ( ) ;
58
58
59
- var prefix =
60
- process . env . ESY === "true"
61
- ? process . env . cur__install
62
- : path . normalize (
63
- path . join ( __dirname , ".." , "native" , getVersionPrefix ( ) )
64
- ) ;
65
- if ( config && process . env . ESY !== "true" ) {
66
- cp . execSync (
67
- "./configure -prefix " +
68
- prefix +
69
- " -no-ocamlbuild -no-curses -no-graph -no-pthread -no-debugger && make clean" ,
70
- { cwd : ocamlSrcDir , stdio : [ 0 , 1 , 2 ] }
71
- ) ;
72
- }
73
59
if ( process . env . ESY !== "true" ) {
60
+ var prefix = path . normalize (
61
+ path . join ( __dirname , ".." , "native" , getVersionPrefix ( ) )
62
+ ) ;
63
+
64
+ if ( config ) {
65
+ cp . execSync (
66
+ "./configure -prefix " +
67
+ prefix +
68
+ " -no-ocamlbuild -no-curses -no-graph -no-pthread -no-debugger && make clean" ,
69
+ { cwd : ocamlSrcDir , stdio : [ 0 , 1 , 2 ] }
70
+ ) ;
71
+ }
72
+
74
73
cp . execSync ( "make -j9 world.opt && make install " , {
75
74
cwd : ocamlSrcDir ,
76
75
stdio : [ 0 , 1 , 2 ]
You can’t perform that action at this time.
0 commit comments