summaryrefslogtreecommitdiff
path: root/Donjon/src
diff options
context:
space:
mode:
authorCharles BIENVENUE <charles.bienvenue@polymtl.ca>2025-11-07 19:18:39 +0000
committerCharles BIENVENUE <charles.bienvenue@polymtl.ca>2025-11-07 19:18:39 +0000
commit26dabca2a49475826662881774d9b7af285212d4 (patch)
tree2b0fbc26f0d63e3d379148736db03d95953beecd /Donjon/src
parenta64a4c4f9336ccb510a8a01c298da07845dce40b (diff)
parenteea73a7fc4cd4d586e7ff257974f3b20fb458eff (diff)
Merge branch 'parallel-make-llvm-regression' into 'main'
Issue with make llvm=1 in PyGan/ solved. See merge request dragon/5.1!21
Diffstat (limited to 'Donjon/src')
-rw-r--r--Donjon/src/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Donjon/src/Makefile b/Donjon/src/Makefile
index b68f26a..a7502b1 100644
--- a/Donjon/src/Makefile
+++ b/Donjon/src/Makefile
@@ -164,6 +164,9 @@ else
FFLAGS += -mmlir -fdynamic-heap-array
ifeq ($(OS),Darwin)
LFLAGS += -lclang_rt.osx
+ ifeq ($(openmp),1)
+ LFLAGS += -L/opt/homebrew/opt/libomp/lib -L/usr/local/opt/libomp/lib -lomp
+ endif
endif
else
lib = ../lib/$(DIRNAME)