Skip to content

Latest commit

 

History

History
43 lines (24 loc) · 1.12 KB

README.md

File metadata and controls

43 lines (24 loc) · 1.12 KB

openPMD Formulas for Homebrew

This Homebrew formula installs provides recipes to build openPMD libraries and tools on your macOS or Linux system.

TL;DR: Just execute

brew update
brew tap openpmd/openpmd
brew install openpmd-api

If you are not using CMake, you might want to set this environment hint:

export PKG_CONFIG_PATH=$(brew --prefix openpmd-api)/lib/pkgconfig:$PKG_CONFIG_PATH

NOTE

This is quite an experimental installation method. Please open an issue in any case when trying this, we welcome any feedback on it!

To Do

  • set pkg-config environment helpers... but brew does not set PKG_CONFIG_PATH

user-side work-around: export PKG_CONFIG_PATH=$(brew --prefix openpmd-api)/lib/pkgconfig:$PKG_CONFIG_PATH

Provided Packages

Documentation

brew help, man brew or check Homebrew's documentation.

Tests

With brew test openpmd-api you can check if the formula is working properly. Note the formula needs to be installed before it can be tested.