Skip to content

Commit

Permalink
[native] Update README (prestodb#24056)
Browse files Browse the repository at this point in the history
  • Loading branch information
zuyu authored Nov 16, 2024
1 parent 6e87912 commit ecfda83
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions presto-native-execution/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ using [Velox](https://github.com/facebookincubator/velox).
Dependency installation scripts based on the operating system are
available inside `presto/presto-native-execution/scripts`.

* MacOS: `setup-macos.sh`
* macOS: `setup-macos.sh`
* CentOS Stream 9: `setup-centos.sh`
* Ubuntu: `setup-ubuntu.sh`

Expand All @@ -32,9 +32,9 @@ working directory.

Use `INSTALL_PREFIX` to set the install directory of the packages. This defaults to
`deps-install` in the current working directory on macOS and to the default install
location (for example, `/usr/local`) on linux.
location (for example, `/usr/local`) on Linux.
Using the default install location `/usr/local` on macOS is discouraged because this
location is used by certain Homebrew versions.
location is owned by `root`.

Manually add the `INSTALL_PREFIX` value in the IDE or bash environment, so subsequent
Prestissimo builds can use the installed packages. Say
Expand All @@ -50,7 +50,7 @@ not listed below.
| [Velox](https://github.com/facebookincubator/velox) | Latest |
| [CMake](https://cmake.org/) | Minimum `3.10` |
| [gperf](https://www.gnu.org/software/gperf) |`v3.1`|
| [proxygen](https://github.com/facebook/proxygen) |`v2024.04.01.00`|
| [proxygen](https://github.com/facebook/proxygen) |`v2024.07.01.00`|

Prestissimo sources the Velox scripts and the configuration for the installation
location and other configuration applies to Prestissimo. Please make sure to also
Expand All @@ -70,13 +70,13 @@ Compilers (and versions) not mentioned are known to not work or have not been tr
| -- | -------- |
| CentOS 9/RHEL 9 | `gcc12` |
| Ubuntu 22.04 | `gcc11` |
| MacOS | `clang15` |
| macOS | `clang15` |

#### Older alternatives
| OS | compiler |
| -- | -------- |
| Ubuntu 20.04 | `gcc9` |
| MacOS | `clang14` |
| macOS | `clang14` |

### Build Prestissimo
#### Parquet and S3 Support
Expand Down Expand Up @@ -112,10 +112,8 @@ follow these steps:

* After installing the above dependencies, from the
`presto/presto-native-execution` directory, run `make`
* For development, use
`make debug` to build a non-optimized debug version.
* Use `make unittest` to build
and run tests.
* For development, use `make debug` to build a non-optimized debug version.
* Use `make unittest` to build and run tests.

### Makefile Targets
A reminder of the available Makefile targets can be obtained using `make help`
Expand Down

0 comments on commit ecfda83

Please sign in to comment.