Skip to content

Commit

Permalink
[Cylon] fixing macos, win and conda side effect
Browse files Browse the repository at this point in the history
Signed-off-by: Arup Sarker <arupcsedu@gmail.com>
  • Loading branch information
arupcsedu committed Jun 9, 2024
1 parent 1799faa commit 25990e3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: conda init $(basename ${SHELL})

- name: Include $CONDA in $PATH
run: echo ::add-path::$CONDA/bin
run: echo ::add-path::$CONDA/condabin

- uses: conda-incubator/setup-miniconda@v2
with:
Expand Down
8 changes: 4 additions & 4 deletions conda/environments/gcylon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ channels:
- defaults
dependencies:
- cudf
- cuda-toolkit=11.5
- cuda-runtime=11.5
- cuda-nvcc=11.5
- cuda-cudart=11.5
- cuda-toolkit=12
- cuda-runtime=12
- cuda-nvcc=12
- cuda-cudart=12
- python=3.11
- cmake
#- arrow-cpp=9
Expand Down
4 changes: 2 additions & 2 deletions conda/environments/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ channels:
- defaults
dependencies:
- python>=3.8,<3.10
- cmake>=3.23.1,!=3.25.0
- cmake>=3.23.1
#g- arrow-cpp=16.1.0
- pyarrow=16.1.0
- glog
- msmpi
- cython>=0.29.31,<3
- numpy<1.24.4
- pandas>=1.0,<2.0.0
- pandas>=1.0
- fsspec>=0.6.0
- setuptools
# they are not needed for using pygcylon or compiling it
Expand Down
4 changes: 2 additions & 2 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -400,13 +400,13 @@ if (${ARROW_BUILD_TYPE} STREQUAL "SYSTEM")
message(STATUS "Arrow dataset lib: ${ARROW_DATASET_LIB}")

if (PYCYLON_BUILD)
find_library(ARROW_PY_LIB pyarrow ${CYLON_ARROW_VERSION} REQUIRED)
find_library(ARROW_PY_LIB arrow_python ${CYLON_ARROW_VERSION} REQUIRED)
message(STATUS "Arrow py lib: ${ARROW_PY_LIB}")
endif (PYCYLON_BUILD)

elseif (${ARROW_BUILD_TYPE} STREQUAL "SOURCE")
message("Building Arrow from SOURCE")
set(CMAKE_PREFIX_PATH ${ARROW_ROOT})
set(Arrow_DIR ${ARROW_ROOT}/cmake/arrow)
include(ConfigureArrow)
include_directories(SYSTEM "${ARROW_INCLUDE_DIR}")
elseif (${ARROW_BUILD_TYPE} STREQUAL "CUSTOM")
Expand Down

0 comments on commit 25990e3

Please sign in to comment.