Bug 297240 - Mk/Uses/mpi.mk: mpi:openmpi set in an option helper doesn't work
Summary: Mk/Uses/mpi.mk: mpi:openmpi set in an option helper doesn't work
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-08-03 00:05 UTC by Yuri Victorovich
Modified: 2026-08-03 07:38 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer freebsd_triage 2026-08-03 00:05:39 UTC
Testcase: science/conduit

OPENMPI_CMAKE_ON=mpi:openmpi is supposed to set -DMPI_C_COMPILER:PATH=${MPICC} etc, but it doesn't.

The OPENMPI_CMAKE_ON+= line has to add thee values in this port.
Comment 1 Thierry Thomas freebsd_committer freebsd_triage 2026-08-03 07:38:56 UTC
I just tried it, with a fresh ports tree (dated Mon Aug  3 09:30:00 CEST 2026), and it works for me.

Have you anything else set in /etc/make.conf? Or some environment variable?