diff --git a/pyproject.toml b/pyproject.toml index ce7d4840..ec76cfee 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -164,6 +164,7 @@ before-all = [ "echo 'export PATH=/usr/lib64/openmpi/bin:$PATH' > /etc/profile.d/openmpi.sh", "source /etc/profile.d/openmpi.sh", ] +before-build = "which mpicc" #[tool.cibuildwheel.linux.environment] #MPICC = "/usr/lib64/openmpi/bin/mpicc"