1
1
Jeff Squyres 420ffe7588 opal_config_asm.m4: Fix the detection of 128 bits atomics.
Thanks to Stefan Teleman for identifying this issue and providing a
proof-of-concept patch.  We ended up revamping the detection of
128-bit atomics to reduce duplicated code and be a slightly simpler --
albiet perhaps a bit more verbose -- approach:

- Remove the --enable-cross-* options; they were confusing and
  unnecessary.
- Always try to compile / link the compiler-intrinsic 128-bit atomic
  functions.
  - Strengthen the C tests we use to be more robust.
  - Use m4 to avoid duplicating the C tests multiple times in the .m4
    source.
- If not cross-compiling, try to run a short test and ensure that they
  actually work (as of Aug 2018, there's at least one platform where
  they don't: clang 6 on ARM64).  If cross-compiling, just assume that
  they work.
- Add more comments about what is going on with all the tests; it's
  tricky stuff.  Our Future Selves will thank us.

Signed-off-by: George Bosilca <bosilca@icl.utk.edu>
Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
(cherry picked from commit ff9df9188707f5331cb21aff66371e133e2a810f)
2018-08-28 12:02:21 -07:00
..
2014-08-25 04:41:56 +00:00
2015-04-27 06:50:40 -07:00
2018-04-09 11:45:58 -04:00
2018-04-09 11:45:58 -04:00
2018-04-09 11:45:58 -04:00
2018-04-09 11:45:58 -04:00
2018-04-09 11:45:58 -04:00
2018-04-09 11:45:58 -04:00
2018-04-09 11:45:58 -04:00
2018-06-06 07:40:03 -07:00
2018-04-09 11:45:58 -04:00