jorisvandenbossche commented on code in PR #14925:
URL: https://github.com/apache/arrow/pull/14925#discussion_r1050554723
##########
python/pyarrow/src/arrow-python.pc.in:
##########
@@ -1,28 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
Review Comment:
Is there a consequence of those pc files being removed? (are those actually
usable right now? I don't think they actually get installed, so this is just
cleaning up?)
##########
python/CMakeLists.txt:
##########
@@ -433,63 +575,46 @@ if(PYARROW_BUILD_CUDA)
find_package(ArrowCUDA REQUIRED)
if(PYARROW_BUNDLE_ARROW_CPP)
- bundle_arrow_lib(ARROW_CUDA_SHARED_LIB SO_VERSION ${ARROW_SO_VERSION})
+ bundle_arrow_lib(${ARROW_CUDA_SHARED_LIB} SO_VERSION ${ARROW_SO_VERSION})
if(MSVC)
- bundle_arrow_import_lib(ARROW_CUDA_IMPORT_LIB)
+ bundle_arrow_import_lib(${ARROW_CUDA_IMPORT_LIB})
endif()
endif()
set(CUDA_LINK_LIBS ArrowCUDA::arrow_cuda_shared)
set(CYTHON_EXTENSIONS ${CYTHON_EXTENSIONS} _cuda)
+ set_source_files_properties(pyarrow/_cuda.pyx PROPERTIES CYTHON_API TRUE)
endif()
# Dataset
if(PYARROW_BUILD_DATASET)
- # Arrow Dataset
- find_package(ArrowDataset REQUIRED)
-
if(PYARROW_BUNDLE_ARROW_CPP)
- bundle_arrow_lib(ARROW_DATASET_SHARED_LIB SO_VERSION ${ARROW_SO_VERSION})
+ bundle_arrow_lib(${ARROW_DATASET_SHARED_LIB} SO_VERSION
${ARROW_SO_VERSION})
if(MSVC)
- bundle_arrow_import_lib(ARROW_DATASET_IMPORT_LIB)
+ bundle_arrow_import_lib(${ARROW_DATASET_IMPORT_LIB})
endif()
endif()
set(DATASET_LINK_LIBS ArrowDataset::arrow_dataset_shared)
set(CYTHON_EXTENSIONS ${CYTHON_EXTENSIONS} _dataset)
endif()
+# Parquet
if(PYARROW_BUILD_PARQUET)
- # Parquet
- find_package(Parquet REQUIRED)
Review Comment:
This hasn't yet been done at this point in the file (if you don't use
parquet encryption), so I would expect this needs to stay? (although testing
locally with my development setup (where I don't enable parquet encryption), it
seems to work fine ..)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]