svn commit: r549613 - in head/cad/calculix-ccx: . files
Pedro F. Giffuni
pfg at FreeBSD.org
Tue Sep 22 17:31:29 UTC 2020
Author: pfg
Date: Tue Sep 22 17:31:28 2020
New Revision: 549613
URL: https://svnweb.freebsd.org/changeset/ports/549613
Log:
cad/calculix-ccx: Re-enable multithreading with spooles.
Clarify further the pkg-messager.
PR: 249351
Approved by: thierry (mentor, implicit)
Modified:
head/cad/calculix-ccx/Makefile
head/cad/calculix-ccx/files/patch-Makefile
head/cad/calculix-ccx/pkg-message
Modified: head/cad/calculix-ccx/Makefile
==============================================================================
--- head/cad/calculix-ccx/Makefile Tue Sep 22 17:25:32 2020 (r549612)
+++ head/cad/calculix-ccx/Makefile Tue Sep 22 17:31:28 2020 (r549613)
@@ -3,6 +3,7 @@
PORTNAME= ccx
PORTVERSION= 2.17
+PORTREVISION= 1
CATEGORIES= cad
MASTER_SITES= http://www.dhondt.de/
PKGNAMEPREFIX= CalculiX-
Modified: head/cad/calculix-ccx/files/patch-Makefile
==============================================================================
--- head/cad/calculix-ccx/files/patch-Makefile Tue Sep 22 17:25:32 2020 (r549612)
+++ head/cad/calculix-ccx/files/patch-Makefile Tue Sep 22 17:31:28 2020 (r549613)
@@ -4,7 +4,7 @@
-CFLAGS = -Wall -O2 -I ../../../SPOOLES.2.2 -DARCH="Linux" -DSPOOLES -DARPACK -DMATRIXSTORAGE -DNETWORKOUT
-FFLAGS = -Wall -O2
-+CFLAGS += -O2 -I%%LOCALBASE%%/include -I%%LOCALBASE%%/include/spooles -DARCH="FreeBSD" -DSPOOLES -DARPACK -DMATRIXSTORAGE -DNETWORKOUT
++CFLAGS += -O2 -I%%LOCALBASE%%/include -I%%LOCALBASE%%/include/spooles -DARCH="FreeBSD" -DSPOOLES -DARPACK -DUSE_MT=1 -DMATRIXSTORAGE -DNETWORKOUT
+FFLAGS += -O2
-CC=cc
Modified: head/cad/calculix-ccx/pkg-message
==============================================================================
--- head/cad/calculix-ccx/pkg-message Tue Sep 22 17:25:32 2020 (r549612)
+++ head/cad/calculix-ccx/pkg-message Tue Sep 22 17:31:28 2020 (r549613)
@@ -2,8 +2,8 @@
{ type: install
message: <<EOM
Spooles: by default the single-threaded solver is used unless you set the
-CCX_NPROC_EQUATION_SOLVER environment variable with the number of
-cores you want to use.
+CCX_NPROC_EQUATION_SOLVER or the OMP_NUM_THREADS environment variables with
+the number of cores you want to use.
EOM
}
]
More information about the svn-ports-head
mailing list