Skip to content

Commit 3d83aed

Browse files
Michael BaeuerleMichael Baeuerle
authored andcommitted
avr-gcc: Disable ISL
There are still C++ version mismatch problems with "inplace" ISL. Forcing C++ version (to C++14) no longer works.
1 parent 48b300e commit 3d83aed

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

avr-gcc/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,8 @@ DEPENDS+= avr-binutils>=2.42:../../cross/avr-binutils
1818

1919
.include "../../mk/bsd.prefs.mk"
2020

21-
USE_LANGUAGES= c c++
22-
USE_CXX_FEATURES+= c++14
23-
# Required for ISL with option "gcc-inplace-math"
24-
FORCE_CXX_STD= c++14
21+
USE_LANGUAGES= c c++
22+
USE_CXX_FEATURES+= c++14
2523

2624
USE_LIBTOOL= yes
2725
USE_TOOLS+= bash gmake gsed:run perl
@@ -45,6 +43,8 @@ CONFIGURE_ARGS+= --disable-lto
4543
CONFIGURE_ARGS+= --disable-nls
4644
CONFIGURE_ARGS+= --target=avr
4745
CONFIGURE_ARGS+= --with-system-zlib
46+
# XXX: Disabled because of C++ version mismatch problems
47+
CONFIGURE_ARGS+= --without-isl
4848

4949
# XXX: Workaround for configure error:
5050
# checking dependency style of c++... none

avr-gcc/options.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ PKG_SUGGESTED_OPTIONS=
99
# gcc-inplace-math: Build math libraries in place
1010
.if !empty(PKG_OPTIONS:Mgcc-inplace-math)
1111
. include "../../devel/gmp/inplace.mk"
12-
. include "../../math/isl/inplace.mk"
12+
#. include "../../math/isl/inplace.mk"
1313
. include "../../math/mpcomplex/inplace.mk"
1414
. include "../../math/mpfr/inplace.mk"
1515
.else
@@ -19,8 +19,8 @@ CONFIGURE_ARGS+= --with-mpc=${BUILDLINK_PREFIX.mpcomplex}
1919
CONFIGURE_ARGS+= --with-mpfr=${BUILDLINK_PREFIX.mpfr}
2020
BUILDLINK_API_DEPENDS.gmp+= gmp>=4.3.2
2121
. include "../../devel/gmp/buildlink3.mk"
22-
BUILDLINK_API_DEPENDS.isl+= isl>=0.15
23-
. include "../../math/isl/buildlink3.mk"
22+
#BUILDLINK_API_DEPENDS.isl+= isl>=0.15
23+
#. include "../../math/isl/buildlink3.mk"
2424
BUILDLINK_API_DEPENDS.mpcomplex+= mpcomplex>=1.0.1
2525
. include "../../math/mpcomplex/buildlink3.mk"
2626
BUILDLINK_API_DEPENDS.mpfr+= mpfr>=3.1.0

0 commit comments

Comments
 (0)