Skip to content

Commit

Permalink
Comments and names changes
Browse files Browse the repository at this point in the history
  • Loading branch information
AlenkaF committed Jul 1, 2022
1 parent bb0a96b commit 997a9b9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion cpp/cmake_modules/FindArrowPython.cmake
Expand Up @@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.

# - Find Arrow Python (python/pyarrrow/src_arrow/api.h, libarrow_python.a, libarrow_python.so)
# - Find Arrow Python (arrow/python/api.h, libarrow_python.a, libarrow_python.so)
#
# This module requires Arrow from which it uses
# arrow_find_package()
Expand Down
4 changes: 0 additions & 4 deletions cpp/src/arrow/public_api_test.cc
Expand Up @@ -50,10 +50,6 @@
#include "arrow/json/api.h" // IWYU pragma: keep
#endif

// #ifdef ARROW_PYTHON
// #include "arrow/python/api.h" // IWYU pragma: keep
// #endif

#ifdef DCHECK
#error "DCHECK should not be visible from Arrow public headers."
#endif
Expand Down
8 changes: 4 additions & 4 deletions python/pyarrow/src_arrow/CMakeLists.txt
Expand Up @@ -33,10 +33,10 @@ endif()
# CMAKE_MODULE_PATH: location of cmake_modules in python
#

get_filename_component(PYARROW_SOURCE_DIR ${CMAKE_SOURCE_DIR} DIRECTORY)
get_filename_component(PYTHON_SOURCE_DIR ${PYARROW_SOURCE_DIR} DIRECTORY)
get_filename_component(ARROW_SOURCE ${PYTHON_SOURCE_DIR} DIRECTORY)
set(ARROW_SOURCE_DIR "${ARROW_SOURCE}/cpp")
get_filename_component(ARROW_PYTHON_SOURCE_DIR ${CMAKE_SOURCE_DIR} DIRECTORY)
get_filename_component(PYARROW_SOURCE_DIR ${ARROW_PYTHON_SOURCE_DIR} DIRECTORY)
get_filename_component(ARROW_SOURCE_DIR ${PYARROW_SOURCE_DIR} DIRECTORY)
set(ARROW_CPP_SOURCE_DIR "${ARROW_SOURCE_DIR}/cpp")

# normalize ARROW_HOME path
cmake_path(CONVERT "$ENV{ARROW_HOME}" TO_CMAKE_PATH_LIST ARROW_HOME)
Expand Down

0 comments on commit 997a9b9

Please sign in to comment.