Skip to content

Commit ceab10d

Browse files
committed
NormalizInterface: switch to C++14
1 parent 6360432 commit ceab10d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,17 @@ RUN mkdir -p /home/gap/inst/ \
1212
&& make
1313

1414
# download and build GAP packages
15+
16+
# NormalizInterface: switch to C++14 to work around https://github.com/gap-packages/NormalizInterface/issues/110
17+
1518
RUN cd /home/gap/inst/gap-${GAP_BRANCH}/ \
1619
&& make bootstrap-pkg-full \
1720
&& rm packages.tar.gz \
1821
&& cd pkg/ \
1922
&& rm normalizinterface/prerequisites.sh \
23+
&& sed -i 's/AX_CXX_COMPILE_STDCXX(11, ,mandatory)/AX_CXX_COMPILE_STDCXX(14, ,mandatory)/' normalizinterface/configure.ac \
24+
&& sed -i 's/-std=gnu++11/-std=gnu++14/' normalizinterface/Makefile.in \
25+
&& (cd normalizinterface && ./autogen.sh) \
2026
&& ../bin/BuildPackages.sh \
2127
&& cd .. \
2228
&& make doc

0 commit comments

Comments
 (0)