Line 16
Link Here
|
16 |
IUSE="doc fltk gif glut gsl hdf5 jpeg octave python qt4 wxwindows" |
16 |
IUSE="doc fltk gif glut gsl hdf5 jpeg octave openmp python qt4 wxwindows" |
17 |
-- |
|
|
Lines 37-39
Link Here
|
37 |
if ! version_is_at_least "4.3.0" "$(gcc-version)"; then |
37 |
if ( use openmp ) then |
38 |
eerror "You need >=gcc-4.3.0 to compile this package" |
38 |
if ( $(tc-getCC)$ == *gcc* ) then |
39 |
die "Wrong gcc version" |
39 |
if ( $(gcc-major-version)$(gcc-minor-version) -lt 43 ) then |
40 |
-- |
40 |
eerror "You are using gcc and OpenMP is only available with gcc >= 4.2 " |
|
|
41 |
eerror "mathgl requires at least gcc >= 4.3" |
42 |
eerror "If you want to use gcc you also need to enable the openmp useflag for gcc" |
43 |
die "wrong compiler version" |
44 |
elif ( ! built_with_use sys-devel/gcc openmp ) then |
45 |
eerror "You are using gcc, gcc needs to be build with the openmp useflag" |
46 |
die "Wrong configuration for gcc" |
47 |
fi |
48 |
fi |
49 |
einfo "You are not using gcc" |
50 |
einfo "You should ensure that your compiler is providing support for openmp" |
Line 54
Link Here
|
|
|
65 |
epatch "${FILESDIR}"/${P}-openmp.patch |
66 |
cp "${FILESDIR}/ax_openmp.m4" "${S}/config/" |
Line 79
Link Here
|
|
|
92 |
$(use_enable openmp) \ |