X-Git-Url: https://git.tld-linux.org/?p=packages%2Fllvm.git;a=blobdiff_plain;f=llvm-selective_bindings.patch;fp=llvm-selective_bindings.patch;h=ae836af31926e360f30d3435432f1beaf4279863;hp=0000000000000000000000000000000000000000;hb=9a942b15771786b61f66fd6011b30beab8f4eb8f;hpb=a9f5c8b2c627e29019650a6d45bb0abeeedad1d1 diff --git a/llvm-selective_bindings.patch b/llvm-selective_bindings.patch new file mode 100644 index 0000000..ae836af --- /dev/null +++ b/llvm-selective_bindings.patch @@ -0,0 +1,11 @@ +--- llvm-13.0.0.src/cmake/config-ix.cmake.orig 2021-09-24 18:18:10.000000000 +0200 ++++ llvm-13.0.0.src/cmake/config-ix.cmake 2021-11-08 11:27:55.475562698 +0100 +@@ -625,7 +625,7 @@ + set(LLVM_BINDINGS "") + include(FindOCaml) + include(AddOCaml) +-if(WIN32 OR NOT LLVM_ENABLE_BINDINGS) ++if(WIN32 OR NOT LLVM_ENABLE_BINDINGS OR (DEFINED LLVM_BINDINGS_LIST AND NOT "ocaml" IN_LIST LLVM_BINDINGS_LIST)) + message(STATUS "OCaml bindings disabled.") + else() + find_package(OCaml)