Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#38127 - [muparser] enable openmp

Attached to Project: Arch Linux
Opened by Michel (xantares) - Friday, 13 December 2013, 16:04 GMT
Last edited by Ronald van Haren (pressh) - Friday, 03 April 2015, 11:04 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Ronald van Haren (pressh)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Hello,

Could we enable openmp for multithreading ?

You will need to modify muParserDef.h header:
prepare () {
cd "$srcdir"/muparser_v${pkgver//./_}
sed -i "s|//#define MUP_USE_OPENMP|#define MUP_USE_OPENMP|g" include/muParserDef.h
}

And add omp flag before the configure:
CXXFLAGS="-fopenmp $CFLAGS"
LDFLAGS="-fopenmp $LDFLAGS"

Regards,

xan.
This task depends upon

Closed by  Ronald van Haren (pressh)
Friday, 03 April 2015, 11:04 GMT
Reason for closing:  Won't implement
Comment by Michel (xantares) - Friday, 03 April 2015, 09:52 GMT
maybe it's a bad idea as it's sometimes slower
Comment by Michel (xantares) - Friday, 03 April 2015, 09:53 GMT
but please update!

Loading...