Skip to content

Commit

Permalink
Fix cmake error after upgrading to Arrow 9 (#11513)
Browse files Browse the repository at this point in the history
After upgrading to Arrow 9 (#11507), some systems experience a cmake issue:
```
cudf/cpp/build/_deps/arrow-src/cpp/CMakeLists.txt:864: error: The dependency target "xsimd" of target "arrow_dependencies" does not exist.
```

This may be due to the configurations for Arrow is looking for a local installation of `xsimd`, which does not exist or the installation path is not provided.

This PRs adds an option to cudf cmake, specifying that Arrow should handle `xsimd` by itself.

Authors:
  - Nghia Truong (https://github.com/ttnghia)

Approvers:
  - Bradley Dice (https://github.com/bdice)
  - Robert Maynard (https://github.com/robertmaynard)

URL: #11513
  • Loading branch information
ttnghia authored Aug 11, 2022
1 parent 95935db commit de06ed9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cpp/cmake/thirdparty/get_arrow.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ function(find_and_configure_arrow VERSION BUILD_STATIC ENABLE_S3 ENABLE_ORC ENAB
"ARROW_GRPC_USE_SHARED ${ARROW_BUILD_SHARED}"
"ARROW_PROTOBUF_USE_SHARED ${ARROW_BUILD_SHARED}"
"ARROW_ZSTD_USE_SHARED ${ARROW_BUILD_SHARED}"
"xsimd_SOURCE AUTO"
)

set(ARROW_FOUND TRUE)
Expand Down

0 comments on commit de06ed9

Please sign in to comment.