1. Jun 08, 2019
  2. Jun 07, 2019
    • David Tenty's avatar
      Build with _XOPEN_SOURCE defined on AIX · a8d13df4
      David Tenty authored
      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
      a8d13df4
    • Sjoerd Meijer's avatar
      [ARM] Add ACLE feature macros for MVE · 4ea248eb
      Sjoerd Meijer authored
      If MVE is present at all, then the macro __ARM_FEATURE_MVE is defined
      to a value which has bit 0 set for integer MVE, and bit 1 set for
      floating-point MVE.
      
      (Floating-point MVE implies integer MVE, so if this macro is defined
      at all then it will be set to 1 or 3, never 2.)
      
      Patch mostly by Simon Tatham
      
      Differential Revision: https://reviews.llvm.org/D60710
      
      llvm-svn: 362806
      4ea248eb