File tree 1 file changed +1
-9
lines changed
1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -157,6 +157,7 @@ impl Step for Llvm {
157
157
. define ( "WITH_POLLY" , "OFF" )
158
158
. define ( "LLVM_ENABLE_TERMINFO" , "OFF" )
159
159
. define ( "LLVM_ENABLE_LIBEDIT" , "OFF" )
160
+ . define ( "LLVM_ENABLE_BINDINGS" , "OFF" )
160
161
. define ( "LLVM_ENABLE_Z3_SOLVER" , "OFF" )
161
162
. define ( "LLVM_PARALLEL_COMPILE_JOBS" , builder. jobs ( ) . to_string ( ) )
162
163
. define ( "LLVM_TARGET_ARCH" , target. split ( '-' ) . next ( ) . unwrap ( ) )
@@ -169,15 +170,6 @@ impl Step for Llvm {
169
170
}
170
171
}
171
172
172
- // By default, LLVM will automatically find OCaml and, if it finds it,
173
- // install the LLVM bindings in LLVM_OCAML_INSTALL_PATH, which defaults
174
- // to /usr/bin/ocaml.
175
- // This causes problem for non-root builds of Rust. Side-step the issue
176
- // by setting LLVM_OCAML_INSTALL_PATH to a relative path, so it installs
177
- // in the prefix.
178
- cfg. define ( "LLVM_OCAML_INSTALL_PATH" ,
179
- env:: var_os ( "LLVM_OCAML_INSTALL_PATH" ) . unwrap_or_else ( || "usr/lib/ocaml" . into ( ) ) ) ;
180
-
181
173
let want_lldb = builder. config . lldb_enabled && !self . emscripten ;
182
174
183
175
// This setting makes the LLVM tools link to the dynamic LLVM library,
You can’t perform that action at this time.
0 commit comments