1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/utils
David Tenty d4999fa5bd Build with _XOPEN_SOURCE defined on AIX
Summary:
It is useful to build with _XOPEN_SOURCE defined on AIX, enabling X/Open
and POSIX compatibility mode, to work around stray macros and other
bugs in the headers provided by the system and build compiler.

This patch adds the config to cmake to build with _XOPEN_SOURCE defined
on AIX with a few exceptions. Google Test internals require access to
platform specific thread info constructs on AIX so in that case we build
with _ALL_SOURCE defined instead. Libclang also uses header which needs
_ALL_SOURCE on AIX so we leave that as is as well.

We also add building on AIX with the large file API and doing CMake
header checks with X/OPEN definitions so the results are consistent with
the environment that will be present in the build.

Reviewers: hubert.reinterpretcast, xingxue, andusy

Reviewed By: hubert.reinterpretcast

Subscribers: mgorny, jsji, cfe-commits, llvm-commits

Tags: #llvm, #clang

Differential Revision: https://reviews.llvm.org/D62533

llvm-svn: 362808
2019-06-07 15:45:25 +00:00
..
benchmark
bugpoint
count
crosstool
docker [build] Rename clang-headers to clang-resource-headers 2019-03-04 21:19:53 +00:00
emacs IR: Add immarg attribute 2019-03-12 21:02:54 +00:00
FileCheck FileCheck: Improve FileCheck variable terminology 2019-05-23 00:10:14 +00:00
fpcmp
gdb-scripts Fix GDB pretty printer for Optional after r354246 2019-05-28 20:22:16 +00:00
git
git-svn [git] Be more specific when looking for llvm-svn 2019-05-23 18:43:19 +00:00
gn llvm-lib: Disallow mixing object files with different machine types 2019-06-07 13:24:34 +00:00
jedit
kate [TableGen] Introduce !listsplat 'binary' operator 2019-04-10 18:26:36 +00:00
KillTheDoctor
lint
lit lit: modernize the lit configuration for the lit tests 2019-05-29 18:07:39 +00:00
llvm-build
llvm-lit
LLVMVisualizers Update MSVC Visualizer to reflect new variadic PointerUnion 2019-06-02 23:33:32 +00:00
Misc
not
PerfectShuffle
release merge-request.sh: Update 8.0 metabug for 8.0.1 2019-03-25 17:01:29 +00:00
Reviewing
sanitizers
TableGen Allow target to handle STRICT floating-point nodes 2019-06-05 22:33:10 +00:00
Target/ARM
testgen
textmate
unittest Build with _XOPEN_SOURCE defined on AIX 2019-06-07 15:45:25 +00:00
UpdateTestChecks UpdateTestChecks: hexagon support 2019-06-05 14:08:01 +00:00
valgrind
vim Line wrap README file 2019-03-14 21:09:14 +00:00
vscode
yaml-bench
abtest.py
bisect
bisect-skip-count
bugpoint_gisel_reducer.py
check-each-file
clang-parse-diagnostics-file
codegen-diff
collect_and_build_with_pgo.py
countloc.sh
create_ladder_graph.py
demangle_tree.py
DSAclean.py
DSAextract.py
extract_symbols.py
extract_vplan.py
findmisopt
findoptdiff
findsym.pl
GenLibDeps.pl
GetRepositoryPath
GetSourceVersion
getsrcs.sh
indirect_calls.py
lldbDataFormatters.py [utils] Add a lldb data formatter for llvm::SmallString. 2019-04-25 00:03:02 +00:00
llvm-compilers-check
llvm-gisel-cov.py
llvm-native-gxx
llvm.grm
LLVMBuild.txt
llvmdo
llvmgrep
prepare-code-coverage-artifact.py svn propset svn:executable on utils/prepare-code-coverage-artifact.py 2019-06-04 23:35:07 +00:00
schedcover.py
shuffle_fuzz.py
shuffle_select_fuzz_tester.py
sort_includes.py
unicode-case-fold.py
update_analyze_test_checks.py Add wildcard support to all update_*_test_checks.py scripts (PR37500) 2019-03-05 10:44:37 +00:00
update_cc_test_checks.py
update_llc_test_checks.py UpdateTestChecks: fix AMDGPU handling 2019-05-18 13:00:03 +00:00
update_mca_test_checks.py
update_mir_test_checks.py Add wildcard support to all update_*_test_checks.py scripts (PR37500) 2019-03-05 10:44:37 +00:00
update_test_checks.py [utils] update_test_checks.py: allow opt-8, opt-9 2019-05-12 04:55:09 +00:00
UpdateCMakeLists.pl
wciia.py