-
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
patch out precompiled headers for pyarrow
- Loading branch information
1 parent
1a627c0
commit 38be784
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
recipe/patches/0001-do-not-precompile-headers-for-pyarrow.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
From 14627e0663a2a8af6eb7318b11d1865ee7076460 Mon Sep 17 00:00:00 2001 | ||
From: "H. Vetinari" <[email protected]> | ||
Date: Thu, 20 Jul 2023 22:07:54 +0200 | ||
Subject: [PATCH] do not precompile headers for pyarrow | ||
|
||
--- | ||
python/CMakeLists.txt | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt | ||
index f6cc4c0e0..1505d96b4 100644 | ||
--- a/python/CMakeLists.txt | ||
+++ b/python/CMakeLists.txt | ||
@@ -370,7 +370,7 @@ endif() | ||
add_library(arrow_python SHARED ${PYARROW_CPP_SRCS}) | ||
target_include_directories(arrow_python PUBLIC ${PYARROW_CPP_ROOT_DIR} | ||
${CMAKE_CURRENT_BINARY_DIR}/pyarrow/src) | ||
-if(NOT CMAKE_VERSION VERSION_LESS 3.16) | ||
+if(FALSE) | ||
target_precompile_headers(arrow_python PUBLIC | ||
"$<$<COMPILE_LANGUAGE:CXX>:arrow/python/pch.h>") | ||
endif() |