Skip to content

Commit

Permalink
Add comment for CMAKE_NO_SYSTEM_FROM_IMPORTED
Browse files Browse the repository at this point in the history
  • Loading branch information
lysnikolaou committed Sep 3, 2024
1 parent 7f55db5 commit 3c453c5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@
cmake_minimum_required(VERSION 3.16)
project(pyarrow)

# This is needed for 3.13 free-threading. CMake used to add Python
# include directories with `-isystem`, which led to some Python-internal
# includes to resolve to normal 3.13 includes (cause -isystem includes
# are searched after system directories), instead of 3.13-freethreading,
# which in turn meant that Py_GIL_DISABLED was not set.
set(CMAKE_NO_SYSTEM_FROM_IMPORTED ON)

set(PYARROW_VERSION "18.0.0-SNAPSHOT")
Expand Down

0 comments on commit 3c453c5

Please sign in to comment.