Skip to content

Commit e054112

Browse files
author
Eric Botcazou
committed
This was already applied on the GCC side.
* Makefile.def (fortran): Add check-target-libgomp-fortran. * Makefile.tpl (check-target-libgomp-fortran): New phony target. * Makefile.in: Regenerate. * configure: Regenerate.
1 parent bf2977b commit e054112

File tree

5 files changed

+19
-32
lines changed

5 files changed

+19
-32
lines changed

Diff for: ChangeLog

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
2018-06-18 Eric Botcazou <[email protected]>
2+
3+
* Makefile.def (fortran): Add check-target-libgomp-fortran.
4+
* Makefile.tpl (check-target-libgomp-fortran): New phony target.
5+
* Makefile.in: Regenerate.
6+
7+
* configure: Regenerate.
8+
19
2018-06-18 Simon Marchi <[email protected]>
210

311
* configure.ac: Sync with GCC, remove MPX-related things.

Diff for: Makefile.def

+2-1
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,8 @@ languages = { language=c++; gcc-check-target=check-c++;
593593
lib-check-target=check-target-libgomp-c++; };
594594
languages = { language=fortran; gcc-check-target=check-fortran;
595595
lib-check-target=check-target-libquadmath;
596-
lib-check-target=check-target-libgfortran; };
596+
lib-check-target=check-target-libgfortran;
597+
lib-check-target=check-target-libgomp-fortran; };
597598
languages = { language=ada; gcc-check-target=check-ada;
598599
lib-check-target=check-target-libada; };
599600
languages = { language=objc; gcc-check-target=check-objc;

Diff for: Makefile.in

+5-1
Original file line numberDiff line numberDiff line change
@@ -46908,6 +46908,10 @@ maintainer-clean-target-libatomic:
4690846908
check-target-libgomp-c++:
4690946909
$(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp
4691046910

46911+
.PHONY: check-target-libgomp-fortran
46912+
check-target-libgomp-fortran:
46913+
$(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) fortran.exp" check-target-libgomp
46914+
4691146915
@endif target-libgomp
4691246916

4691346917
@if target-libitm
@@ -46959,7 +46963,7 @@ check-gcc-fortran:
4695946963
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4696046964
$(HOST_EXPORTS) \
4696146965
(cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
46962-
check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran
46966+
check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran check-target-libgomp-fortran
4696346967

4696446968
.PHONY: check-gcc-ada check-ada
4696546969
check-gcc-ada:

Diff for: Makefile.tpl

+4
Original file line numberDiff line numberDiff line change
@@ -1460,6 +1460,10 @@ ENDIF raw_cxx +]
14601460
check-target-libgomp-c++:
14611461
$(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp
14621462

1463+
.PHONY: check-target-libgomp-fortran
1464+
check-target-libgomp-fortran:
1465+
$(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) fortran.exp" check-target-libgomp
1466+
14631467
@endif target-libgomp
14641468

14651469
@if target-libitm

Diff for: configure

-30
Original file line numberDiff line numberDiff line change
@@ -2758,7 +2758,6 @@ target_libraries="target-libgcc \
27582758
target-libstdc++-v3 \
27592759
target-libsanitizer \
27602760
target-libvtv \
2761-
target-libmpx \
27622761
target-libssp \
27632762
target-libquadmath \
27642763
target-libgfortran \
@@ -3264,25 +3263,6 @@ $as_echo "yes" >&6; }
32643263
fi
32653264

32663265

3267-
# Enable libmpx on supported systems by request.
3268-
if test -d ${srcdir}/libmpx; then
3269-
if test x$enable_libmpx = x; then
3270-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmpx support" >&5
3271-
$as_echo_n "checking for libmpx support... " >&6; }
3272-
if (srcdir=${srcdir}/libmpx; \
3273-
. ${srcdir}/configure.tgt; \
3274-
test "$LIBMPX_SUPPORTED" != "yes")
3275-
then
3276-
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3277-
$as_echo "no" >&6; }
3278-
noconfigdirs="$noconfigdirs target-libmpx"
3279-
else
3280-
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3281-
$as_echo "yes" >&6; }
3282-
fi
3283-
fi
3284-
fi
3285-
32863266
# Disable libhsail-rt on unsupported systems.
32873267
if test -d ${srcdir}/libhsail-rt; then
32883268
if test x$enable_libhsail_rt = x; then
@@ -7110,16 +7090,6 @@ if echo " ${target_configdirs} " | grep " libvtv " > /dev/null 2>&1 &&
71107090
bootstrap_target_libs=${bootstrap_target_libs}target-libvtv,
71117091
fi
71127092

7113-
# If we are building libmpx and $BUILD_CONFIG contains bootstrap-mpx,
7114-
# bootstrap it.
7115-
if echo " ${target_configdirs} " | grep " libmpx " > /dev/null 2>&1; then
7116-
case "$BUILD_CONFIG" in
7117-
*bootstrap-mpx* )
7118-
bootstrap_target_libs=${bootstrap_target_libs}target-libmpx,
7119-
;;
7120-
esac
7121-
fi
7122-
71237093
# Determine whether gdb needs tk/tcl or not.
71247094
# Use 'maybe' since enable_gdbtk might be true even if tk isn't available
71257095
# and in that case we want gdb to be built without tk. Ugh!

0 commit comments

Comments
 (0)