Skip to content

Commit

Permalink
feat(ABFS): Add dep for ABFS Auth support
Browse files Browse the repository at this point in the history
  • Loading branch information
zhli1142015 committed Nov 22, 2024
1 parent ebfb1e5 commit 14e57f1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ if(VELOX_ENABLE_ABFS)
endif()
# files-datalake is built on blobs
find_package(azure-storage-files-datalake-cpp CONFIG REQUIRED)
find_package(azure-identity-cpp CONFIG REQUIRED)
add_definitions(-DVELOX_ENABLE_ABFS)
endif()

Expand Down
5 changes: 5 additions & 0 deletions scripts/setup-adapters.sh
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,11 @@ function install_azure-storage-sdk-cpp {
cd $azure_core_dir
cmake_install -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DBUILD_SHARED_LIBS=OFF
)
# install azure-identity
(
cd sdk/identity/azure-identity
cmake_install -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DBUILD_SHARED_LIBS=OFF
)
# install azure-storage-common
(
cd sdk/storage/azure-storage-common
Expand Down
1 change: 1 addition & 0 deletions scripts/velox_env_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ dependencies:
- sysroot_linux-64=2.17
# dependencies
- aws-sdk-cpp
- azure-identity-cpp
- azure-storage-blobs-cpp
- boost-cpp
- bzip2
Expand Down
1 change: 1 addition & 0 deletions scripts/velox_env_mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ dependencies:
- sysroot_linux-64=2.17
# dependencies
- aws-sdk-cpp
- azure-identity-cpp
- azure-storage-blobs-cpp
- boost-cpp
- bzip2
Expand Down

0 comments on commit 14e57f1

Please sign in to comment.