Skip to content

Commit

Permalink
remove debugging status messages
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisvandenbossche committed May 16, 2024
1 parent 5f2382e commit 0390e9e
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -259,30 +259,23 @@ macro(define_option name description arrow_option)
# by default, first check if env variable exists, otherwise use Arrow C++ config
set(env_variable "PYARROW_WITH_${name}")
if(DEFINED ENV{${env_variable}})
message(STATUS "Env variable is defined: ${env_variable}=$ENV{${env_variable}}")
if($ENV{${env_variable}})
set("PYARROW_BUILD_${name}" ON)
message(STATUS "Setting ${name} to ON through env variable")
else()
set("PYARROW_BUILD_${name}" OFF)
message(STATUS "Setting ${name} to OFF through env variable")
endif()
else()
if(${arrow_option})
set("PYARROW_BUILD_${name}" ON)
message(STATUS "Setting ${name} to ON through Arrow C++ config")
else()
set("PYARROW_BUILD_${name}" OFF)
message(STATUS "Setting ${name} to OFF through Arrow C++ config")
endif()
endif()
else()
if("${PYARROW_${name}}")
set("PYARROW_BUILD_${name}" ON)
message(STATUS "Setting ${name} to ON through CMake option")
else()
set("PYARROW_BUILD_${name}" OFF)
message(STATUS "Setting ${name} to OFF through CMake option")
endif()
endif()
endmacro()
Expand Down

0 comments on commit 0390e9e

Please sign in to comment.