diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2019-05-30 09:06:48 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2019-05-30 09:06:48 +0000 |
commit | a7155c2e0b061212722faf5744cb3781e9a18aa3 (patch) | |
tree | 85909d95bf4225e5242b1334f4f28f777989c56f /libgomp/Makefile.in | |
parent | b8148c42da02357784830917421d6091fbe69a83 (diff) | |
download | gcc-a7155c2e0b061212722faf5744cb3781e9a18aa3.tar.gz |
Generalize getconf _NPROCESSORS_ONLN
libgomp:
* configure.ac: Call AX_COUNT_CPUS.
Substitute CPU_COUNT.
* testsuite/Makefile.am (check-am): Use CPU_COUNT as processor
count fallback.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* Makefile.in, testsuite/Makefile.in: Regenerate.
config:
* ax_count_cpus.m4: New file.
From-SVN: r271769
Diffstat (limited to 'libgomp/Makefile.in')
-rw-r--r-- | libgomp/Makefile.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libgomp/Makefile.in b/libgomp/Makefile.in index 1e2fa89f3af..5abf7d43438 100644 --- a/libgomp/Makefile.in +++ b/libgomp/Makefile.in @@ -16,7 +16,7 @@ # Plugins for offload execution, Makefile.am fragment. # -# Copyright (C) 2014-2018 Free Software Foundation, Inc. +# Copyright (C) 2014-2019 Free Software Foundation, Inc. # # Contributed by Mentor Embedded. # @@ -124,6 +124,7 @@ target_triplet = @target@ subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/../config/acx.m4 \ + $(top_srcdir)/../config/ax_count_cpus.m4 \ $(top_srcdir)/../config/depstand.m4 \ $(top_srcdir)/../config/enable.m4 \ $(top_srcdir)/../config/futex.m4 \ @@ -365,6 +366,7 @@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ +CPU_COUNT = @CPU_COUNT@ CUDA_DRIVER_INCLUDE = @CUDA_DRIVER_INCLUDE@ CUDA_DRIVER_LIB = @CUDA_DRIVER_LIB@ CYGPATH_W = @CYGPATH_W@ |