Change default AOT LLVM path from $PATH to /usr/lib/mono/llvm/bin
Former-commit-id: a7bc9787eb8038141fc502b2dd2e4fd72297fbce
This commit is contained in:
parent
b65245dd37
commit
076aea3084
13
debian/patches/llvm_llc_opt_default_path.patch
vendored
Normal file
13
debian/patches/llvm_llc_opt_default_path.patch
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/mono/mini/aot-compiler.c b/mono/mini/aot-compiler.c
|
||||
index d831bfe8cf5..e419cbdb53b 100644
|
||||
--- a/mono/mini/aot-compiler.c
|
||||
+++ b/mono/mini/aot-compiler.c
|
||||
@@ -12465,7 +12465,7 @@ mono_compile_assembly (MonoAssembly *ass, guint32 opts, const char *aot_options,
|
||||
acfg->aot_opts.nimt_trampolines = 512;
|
||||
acfg->aot_opts.nrgctx_fetch_trampolines = 128;
|
||||
acfg->aot_opts.ngsharedvt_arg_trampolines = 512;
|
||||
- acfg->aot_opts.llvm_path = g_strdup ("");
|
||||
+ acfg->aot_opts.llvm_path = g_strdup ("/usr/lib/mono/llvm/bin/");
|
||||
acfg->aot_opts.temp_path = g_strdup ("");
|
||||
#ifdef MONOTOUCH
|
||||
acfg->aot_opts.use_trampolines_page = TRUE;
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -1,2 +1,3 @@
|
||||
llvm_llc_opt_default_path.patch
|
||||
disable_asm_in_btls_on_arm.patch
|
||||
0001-Harden-JIT-job-control-against-cctors-deadlocking.-7.patch
|
||||
|
Loading…
x
Reference in New Issue
Block a user