@@ -81,8 +81,15 @@ Compilers (and versions) not mentioned are known to not work or have not been tr
8181
8282### Build Prestissimo
8383#### Parquet and S3 Support
84- To enable Parquet and S3 support, set ` PRESTO_ENABLE_PARQUET = "ON" ` ,
85- ` PRESTO_ENABLE_S3 = "ON" ` in the environment.
84+ Parquet support is enabled by default. To disable it, add ` -DPRESTO_ENABLE_PARQUET=OFF `
85+ to the ` EXTRA_CMAKE_FLAGS ` environment variable.
86+
87+ ` export EXTRA_CMAKE_FLAGS="${EXTRA_CMAKE_FLAGS -DPRESTO_ENABLE_PARQUET=OFF" `
88+
89+ To enable S3 support, add ` -DPRESTO_ENABLE_S3=ON ` to the ` EXTRA_CMAKE_FLAGS `
90+ environment variable.
91+
92+ ` export EXTRA_CMAKE_FLAGS="${EXTRA_CMAKE_FLAGS} -DPRESTO_ENABLE_S3=ON" `
8693
8794S3 support needs the [ AWS SDK C++] ( https://github.com/aws/aws-sdk-cpp ) library.
8895This dependency can be installed by running the target platform build script
@@ -91,8 +98,10 @@ from the `presto/presto-native-execution` directory.
9198` ./velox/scripts/setup-centos9.sh install_aws `
9299
93100#### JWT Authentication
94- To enable JWT authentication support, set ` PRESTO_ENABLE_JWT = "ON" ` in
95- the environment.
101+ To enable JWT authentication support, add ` -DPRESTO_ENABLE_JWT=ON ` to the
102+ ` EXTRA_CMAKE_FLAGS ` environment variable.
103+
104+ ` export EXTRA_CMAKE_FLAGS="${EXTRA_CMAKE_FLAGS} -DPRESTO_ENABLE_JWT=ON" `
96105
97106JWT authentication support needs the [ JWT CPP] ( https://github.com/Thalhammer/jwt-cpp ) library.
98107This dependency can be installed by running the script below from the
@@ -109,6 +118,8 @@ follow these steps:
109118
110119* CMake flags:* ` PRESTO_STATS_REPORTER_TYPE=PROMETHEUS `
111120
121+ ` export EXTRA_CMAKE_FLAGS="${EXTRA_CMAKE_FLAGS} -DPRESTO_STATS_REPORTER_TYPE=PROMETHEUS" `
122+
112123* Runtime configuration:* ` runtime-metrics-collection-enabled=true `
113124
114125* After installing the above dependencies, from the
@@ -117,8 +128,8 @@ follow these steps:
117128* Use ` make unittest ` to build and run tests.
118129
119130#### Arrow Flight Connector
120- To enable Arrow Flight connector support, add to the extra cmake flags :
121- ` EXTRA_CMAKE_FLAGS = -DPRESTO_ENABLE_ARROW_FLIGHT_CONNECTOR=ON`
131+ To enable Arrow Flight connector support, add to the ` EXTRA_CMAKE_FLAGS ` environment variable :
132+ ` export EXTRA_CMAKE_FLAGS="${EXTRA_CMAKE_FLAGS} -DPRESTO_ENABLE_ARROW_FLIGHT_CONNECTOR=ON" `
122133
123134The Arrow Flight connector requires the Arrow Flight library. You can install this dependency
124135by running the following script from the ` presto/presto-native-execution ` directory:
@@ -128,8 +139,8 @@ by running the following script from the `presto/presto-native-execution` direct
128139#### Nvidia cuDF GPU Support
129140
130141To enable support with [ cuDF] ( https://github.com/facebookincubator/velox/tree/main/velox/experimental/cudf ) ,
131- add to the extra cmake flags :
132- ` EXTRA_CMAKE_FLAGS = -DPRESTO_ENABLE_CUDF=ON`
142+ add to the ` EXTRA_CMAKE_FLAGS ` environment variable :
143+ ` export EXTRA_CMAKE_FLAGS="${EXTRA_CMAKE_FLAGS} -DPRESTO_ENABLE_CUDF=ON" `
133144
134145In some environments, the CUDA_ARCHITECTURES and CUDA_COMPILER location must be explicitly set.
135146The make command will look like:
@@ -139,8 +150,8 @@ The make command will look like:
139150The required dependencies are bundled from the Velox setup scripts.
140151
141152#### Spatial type and function support
142- To enable support for spatial types and functions , add to the extra cmake flags :
143- ` EXTRA_CMAKE_FLAGS = -PRESTO_ENABLE_SPATIAL`
153+ Spatial type and function support is enabled by default. To disable it , add to ` EXTRA_CMAKE_FLAGS ` environment variable :
154+ ` export EXTRA_CMAKE_FLAGS="${EXTRA_CMAKE_FLAGS} -PRESTO_ENABLE_SPATIAL=OFF" `
144155
145156The spatial support adds new types (OGC geometry types) and functionality for spatial calculations.
146157
0 commit comments