Lines 146-153
Link Here
|
146 |
tc_version_is_at_least 4.1 && IUSE+=" libssp objc++" |
146 |
tc_version_is_at_least 4.1 && IUSE+=" libssp objc++" |
147 |
tc_version_is_at_least 4.2 && IUSE_DEF+=( openmp ) |
147 |
tc_version_is_at_least 4.2 && IUSE_DEF+=( openmp ) |
148 |
tc_version_is_at_least 4.3 && IUSE+=" fixed-point" |
148 |
tc_version_is_at_least 4.3 && IUSE+=" fixed-point" |
149 |
tc_version_is_at_least 4.6 && IUSE+=" graphite" |
|
|
150 |
tc_version_is_at_least 4.7 && IUSE+=" go" |
149 |
tc_version_is_at_least 4.7 && IUSE+=" go" |
|
|
150 |
tc_version_is_at_least 4.8 && IUSE+=" graphite" |
151 |
tc_version_is_at_least 4.8 && IUSE_DEF+=( sanitize ) |
151 |
tc_version_is_at_least 4.8 && IUSE_DEF+=( sanitize ) |
152 |
fi |
152 |
fi |
153 |
|
153 |
|
Lines 180-198
Link Here
|
180 |
tc_version_is_at_least 4.5 && RDEPEND+=" >=dev-libs/mpc-0.8.1" |
180 |
tc_version_is_at_least 4.5 && RDEPEND+=" >=dev-libs/mpc-0.8.1" |
181 |
|
181 |
|
182 |
if in_iuse graphite ; then |
182 |
if in_iuse graphite ; then |
183 |
if tc_version_is_at_least 4.8 ; then |
183 |
RDEPEND+=" |
184 |
RDEPEND+=" |
184 |
graphite? ( |
185 |
graphite? ( |
185 |
>=dev-libs/cloog-0.18.0 |
186 |
>=dev-libs/cloog-0.18.0 |
186 |
>=dev-libs/isl-0.11.1 |
187 |
>=dev-libs/isl-0.11.1 |
187 |
)" |
188 |
)" |
|
|
189 |
else |
190 |
RDEPEND+=" |
191 |
graphite? ( |
192 |
>=dev-libs/cloog-ppl-0.15.10 |
193 |
>=dev-libs/ppl-0.11 |
194 |
)" |
195 |
fi |
196 |
fi |
188 |
fi |
197 |
|
189 |
|
198 |
DEPEND="${RDEPEND} |
190 |
DEPEND="${RDEPEND} |
Lines 1182-1203
Link Here
|
1182 |
confgcc+=( --disable-lto ) |
1174 |
confgcc+=( --disable-lto ) |
1183 |
fi |
1175 |
fi |
1184 |
|
1176 |
|
1185 |
# graphite was added in 4.4 but we only support it in 4.6+ due to external |
1177 |
# graphite was added in 4.4 but we only support it in 4.8+ due to external |
1186 |
# library issues. 4.6/4.7 uses cloog-ppl which is a fork of CLooG with a |
1178 |
# library issues. |
1187 |
# PPL backend. 4.8+ uses upstream CLooG with the ISL backend. We install |
1179 |
confgcc+=( $(use_with graphite cloog) ) |
1188 |
# cloog-ppl into a non-standard location to prevent collisions. |
1180 |
use graphite && confgcc+=( --disable-isl-version-check ) |
1189 |
if tc_version_is_at_least 4.8 ; then |
|
|
1190 |
confgcc+=( $(use_with graphite cloog) ) |
1191 |
use graphite && confgcc+=( --disable-isl-version-check ) |
1192 |
elif tc_version_is_at_least 4.6 ; then |
1193 |
confgcc+=( $(use_with graphite cloog) ) |
1194 |
confgcc+=( $(use_with graphite ppl) ) |
1195 |
use graphite && confgcc+=( --with-cloog-include=/usr/include/cloog-ppl ) |
1196 |
use graphite && confgcc+=( --disable-ppl-version-check ) |
1197 |
elif tc_version_is_at_least 4.4 ; then |
1198 |
confgcc+=( --without-cloog ) |
1199 |
confgcc+=( --without-ppl ) |
1200 |
fi |
1201 |
|
1181 |
|
1202 |
if tc_version_is_at_least 4.8 ; then |
1182 |
if tc_version_is_at_least 4.8 ; then |
1203 |
confgcc+=( $(use_enable sanitize libsanitizer) ) |
1183 |
confgcc+=( $(use_enable sanitize libsanitizer) ) |