Date: Tue, 22 Sep 2020 17:31:28 +0000 (UTC) From: "Pedro F. Giffuni" <pfg@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r549613 - in head/cad/calculix-ccx: . files Message-ID: <202009221731.08MHVSfg067567@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 } ]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009221731.08MHVSfg067567>