1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-02 20:42:29 +03:00

Fix location where math-vector-fortran.h is installed.

2019-03-07  Martin Liska  <mliska@suse.cz>

	* math/Makefile: Change location where math-vector-fortran.h is
	installed.
	* math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
	* sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
	from sysdeps/x86/fpu/bits/math-vector-fortran.h.
	* scripts/check-installed-headers.sh: Skip Fortran header files.
	* scripts/check-wrapper-headers.py: Likewise.
This commit is contained in:
marxin
2019-03-07 09:39:55 +01:00
parent 0ddb7ea842
commit ae51497134
6 changed files with 19 additions and 1 deletions

View File

@ -1,3 +1,13 @@
2019-03-07 Martin Liska <mliska@suse.cz>
* math/Makefile: Change location where math-vector-fortran.h is
installed.
* math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
* sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
from sysdeps/x86/fpu/bits/math-vector-fortran.h.
* scripts/check-installed-headers.sh: Skip Fortran header files.
* scripts/check-wrapper-headers.py: Likewise.
2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org> 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
* nptl/nptl-init.c (__have_futex_clock_realtime, * nptl/nptl-init.c (__have_futex_clock_realtime,

View File

@ -26,7 +26,7 @@ headers := math.h bits/mathcalls.h bits/mathinline.h \
fpu_control.h complex.h bits/cmathcalls.h fenv.h \ fpu_control.h complex.h bits/cmathcalls.h fenv.h \
bits/fenv.h bits/fenvinline.h bits/mathdef.h tgmath.h \ bits/fenv.h bits/fenvinline.h bits/mathdef.h tgmath.h \
bits/math-finite.h bits/math-vector.h \ bits/math-finite.h bits/math-vector.h \
bits/math-vector-fortran.h \ finclude/math-vector-fortran.h \
bits/libm-simd-decl-stubs.h bits/iscanonical.h \ bits/libm-simd-decl-stubs.h bits/iscanonical.h \
bits/flt-eval-method.h bits/fp-fast.h bits/fp-logb.h \ bits/flt-eval-method.h bits/fp-fast.h bits/fp-logb.h \
bits/long-double.h bits/mathcalls-helper-functions.h \ bits/long-double.h bits/mathcalls-helper-functions.h \

View File

@ -84,6 +84,10 @@ for header in "$@"; do
(sys/elf.h) (sys/elf.h)
continue;; continue;;
# Skip Fortran headers.
(finclude/*)
continue;;
# sys/sysctl.h is unsupported for x32. # sys/sysctl.h is unsupported for x32.
(sys/sysctl.h) (sys/sysctl.h)
case "$is_x32" in case "$is_x32" in

View File

@ -75,6 +75,10 @@ def check_headers(args):
is_nonsysdep_header = os.access(header, os.R_OK) is_nonsysdep_header = os.access(header, os.R_OK)
if is_nonsysdep_header: if is_nonsysdep_header:
# Skip Fortran header files.
if '/finclude/' in header:
continue
include_path = os.path.join(args.root, INCLUDE, header) include_path = os.path.join(args.root, INCLUDE, header)
if not os.access(include_path, os.R_OK): if not os.access(include_path, os.R_OK):
print('error: missing wrapper header {} for {}'.format( print('error: missing wrapper header {} for {}'.format(