mirror of
https://github.com/apache/arrow.git
synced 2026-10-29 00:56:31 +08:00
Use environment variables for CARES_HOME
This commit is contained in:
1 parent
fe440ba0ec
commit
3f7a41cfd8
2 files changed
+7
-3
No files matched your search
+3
-3
@@ -326,7 +326,7 @@ By default, Arrow will try to download and build these dependencies
|
||||
when building Flight.
|
||||
|
||||
The optional `flight` libraries and tests can be built by passing
|
||||
`-DARROW_FLIGHT=on`.
|
||||
`-DARROW_FLIGHT=ON`.
|
||||
|
||||
```shell
|
||||
cmake .. -DARROW_FLIGHT=ON -DARROW_BUILD_TESTS=ON
|
||||
@@ -334,8 +334,8 @@ make
|
||||
```
|
||||
|
||||
You can also use existing installations of the extra dependencies.
|
||||
When building, pass `-DGRPC_HOME` and/or `-DPROTOBUF_HOME` and/or
|
||||
`-DCARES_HOME`.
|
||||
When building, set the environment variables `GRPC_HOME` and/or
|
||||
`PROTOBUF_HOME` and/or `CARES_HOME`.
|
||||
|
||||
On Ubuntu/Debian, you can install these dependencies with:
|
||||
|
||||
|
||||
@@ -89,6 +89,10 @@ if (DEFINED ENV{GRPC_HOME})
|
||||
set(GRPC_HOME "$ENV{GRPC_HOME}")
|
||||
endif()
|
||||
|
||||
if (DEFINED ENV{CARES_HOME})
|
||||
set(CARES_HOME "$ENV{CARES_HOME}")
|
||||
endif()
|
||||
|
||||
if (DEFINED ENV{GTEST_HOME})
|
||||
set(GTEST_HOME "$ENV{GTEST_HOME}")
|
||||
endif()
|
||||
|
||||
Reference in new issue
Block a user