diff options
author | marxin <mliska@suse.cz> | 2019-03-07 09:39:55 +0100 |
---|---|---|
committer | marxin <mliska@suse.cz> | 2019-03-07 09:40:24 +0100 |
commit | ae514971341dcc08ec7f8622493a65e7eb1ef9d2 (patch) | |
tree | 24a3ed4c081442c95df6c24023450a0533a018df /scripts | |
parent | 0ddb7ea842abf63516b74d4b057c052afc6ba863 (diff) | |
download | glibc-ae514971341dcc08ec7f8622493a65e7eb1ef9d2.zip glibc-ae514971341dcc08ec7f8622493a65e7eb1ef9d2.tar.gz glibc-ae514971341dcc08ec7f8622493a65e7eb1ef9d2.tar.bz2 |
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.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/check-installed-headers.sh | 4 | ||||
-rw-r--r-- | scripts/check-wrapper-headers.py | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/scripts/check-installed-headers.sh b/scripts/check-installed-headers.sh index 8e7beff..1f44964 100644 --- a/scripts/check-installed-headers.sh +++ b/scripts/check-installed-headers.sh @@ -84,6 +84,10 @@ for header in "$@"; do (sys/elf.h) continue;; + # Skip Fortran headers. + (finclude/*) + continue;; + # sys/sysctl.h is unsupported for x32. (sys/sysctl.h) case "$is_x32" in diff --git a/scripts/check-wrapper-headers.py b/scripts/check-wrapper-headers.py index 094faa3..dc9fd86 100644 --- a/scripts/check-wrapper-headers.py +++ b/scripts/check-wrapper-headers.py @@ -75,6 +75,10 @@ def check_headers(args): is_nonsysdep_header = os.access(header, os.R_OK) if is_nonsysdep_header: + # Skip Fortran header files. + if '/finclude/' in header: + continue + include_path = os.path.join(args.root, INCLUDE, header) if not os.access(include_path, os.R_OK): print('error: missing wrapper header {} for {}'.format( |