aboutsummaryrefslogtreecommitdiff
path: root/math/cosma
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-08-04 07:28:58 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2022-08-04 07:41:23 +0000
commitac1a59ade2bb903f296bcb271736a9f15f0fb727 (patch)
tree725112fadf3ebfe0d2cc622d0b9e764e6d13a387 /math/cosma
parent6a6938ea1094011e9fd9121b2ed00d005ac4418f (diff)
downloadports-ac1a59ade2bb903f296bcb271736a9f15f0fb727.tar.gz
ports-ac1a59ade2bb903f296bcb271736a9f15f0fb727.zip
math/cosma: Broken on systems where OpenMP isn't enabled
Reported by: fallout
Diffstat (limited to 'math/cosma')
-rw-r--r--math/cosma/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/math/cosma/Makefile b/math/cosma/Makefile
index 2466996c868d..dea671256fb1 100644
--- a/math/cosma/Makefile
+++ b/math/cosma/Makefile
@@ -9,6 +9,10 @@ COMMENT= Distributed communication-optimal matrix multiplication algorithm
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
+.if !exists(/usr/include/omp.h)
+BROKEN= requires OpenMP support that is missing on this architecture
+.endif
+
BUILD_DEPENDS= openmpi>0:net/openmpi
LIB_DEPENDS= libopenblas.so:math/openblas
RUN_DEPENDS= openmpi>0:net/openmpi