arrow
: don't use when
as a keyword argument to filter_file() (#35065)
Co-authored-by: thomas-bouvier <thomas-bouvier@users.noreply.github.com>
This commit is contained in:
parent
ce8727cece
commit
b7a68938c2
1 changed files with 13 additions and 13 deletions
|
@ -101,18 +101,18 @@ def patch(self):
|
|||
r"(include_directories\()SYSTEM ", r"\1", "cpp/cmake_modules/ThirdpartyToolchain.cmake"
|
||||
)
|
||||
|
||||
if self.spec.satisfies("@:2.0.0"):
|
||||
filter_file(
|
||||
r'set\(ARROW_LLVM_VERSIONS "10" "9" "8" "7"\)',
|
||||
'set(ARROW_LLVM_VERSIONS "11" "10" "9" "8" "7")',
|
||||
"cpp/CMakeLists.txt",
|
||||
when="@:2.0.0",
|
||||
)
|
||||
|
||||
filter_file(
|
||||
r"#include <llvm/Support/DynamicLibrary\.h>",
|
||||
r"#include <llvm/Support/DynamicLibrary.h>" + "\n" + r"#include <llvm/Support/Host.h>",
|
||||
r"#include <llvm/Support/DynamicLibrary.h>"
|
||||
+ "\n"
|
||||
+ r"#include <llvm/Support/Host.h>",
|
||||
"cpp/src/gandiva/engine.cc",
|
||||
when="@2.0.0",
|
||||
)
|
||||
|
||||
def cmake_args(self):
|
||||
|
|
Loading…
Reference in a new issue