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
..
2015-07-07 11:04:07 +09:00
2014-08-25 04:41:56 +00:00
2015-04-27 06:50:40 -07:00
2016-01-20 16:18:43 -05:00
2018-03-02 10:50:37 -08:00
2010-08-25 19:40:17 +00:00
2016-06-06 11:54:24 +09:00
2015-06-23 20:59:57 -07:00
2016-11-22 15:03:20 -08:00
2016-12-02 22:09:20 +02:00
2018-04-25 14:39:18 -05:00
2016-11-22 15:03:20 -08:00
2016-11-22 15:03:20 -08:00
2016-11-22 15:03:20 -08:00
2016-11-22 15:03:20 -08:00
2018-04-25 14:39:18 -05:00
2018-07-09 16:18:47 +03:00
2016-11-22 15:03:20 -08:00
2018-06-07 15:02:17 +09:00
2018-06-26 10:52:18 +09:00
2016-11-22 15:03:20 -08:00
2016-11-22 15:03:20 -08:00
2016-11-22 15:03:20 -08:00
2016-11-22 15:03:20 -08:00
2018-04-09 11:45:58 -04:00
2016-11-22 15:03:20 -08:00
2018-07-17 16:29:41 +09:00
2017-04-19 13:42:45 +09:00
2016-11-22 15:03:20 -08:00
2016-11-22 15:03:20 -08:00
2016-11-22 15:03:20 -08:00
2016-11-22 15:03:20 -08:00
2018-04-09 11:45:58 -04:00
2018-04-09 11:45:58 -04:00
2016-11-22 15:03:20 -08:00
2016-11-22 15:03:20 -08:00
2016-11-22 15:03:20 -08:00
2016-11-22 15:03:20 -08:00
2016-11-22 15:03:20 -08:00
2016-11-22 15:03:20 -08:00
2016-11-22 15:03:20 -08:00
2016-11-22 15:03:20 -08:00
2016-12-27 13:36:53 -08:00
2017-07-11 11:09:27 -05:00
2016-11-22 15:03:20 -08:00
2016-11-22 15:03:20 -08:00
2016-11-22 15:03:20 -08:00
2016-11-22 15:03:20 -08:00
2016-11-22 15:03:20 -08:00
2016-11-22 15:03:20 -08:00
2016-11-22 15:03:20 -08:00
2016-11-22 15:03:20 -08:00
2016-11-22 15:03:20 -08:00
2016-11-22 15:03:20 -08:00
2016-11-22 15:03:20 -08:00
2016-11-22 15:03:20 -08:00
2016-11-22 15:03:20 -08:00
2016-11-22 15:03:20 -08:00
2016-11-22 15:03:20 -08:00
2018-05-15 15:15:22 -07:00
2016-11-22 15:03:20 -08:00
2017-08-10 06:19:17 -07:00
2018-05-15 15:15:22 -07:00
2016-11-22 15:03:20 -08:00
2015-06-23 20:59:57 -07:00
2016-11-21 13:45:10 -06:00
2018-05-31 09:44:19 -06:00
2015-06-23 20:59:57 -07:00
2017-04-03 10:42:34 -06:00
2014-05-07 21:48:53 +00:00
2015-06-23 20:59:57 -07:00
2018-04-09 11:45:58 -04:00
2016-04-20 08:40:00 -07:00
2015-06-23 20:59:57 -07:00
2015-02-03 15:19:22 +09:00
2016-04-20 08:40:00 -07:00
2017-09-25 11:53:38 -04:00
2015-06-23 20:59:57 -07:00
2017-04-20 13:07:16 -06: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-07-19 11:59:17 -07:00
2016-04-20 08:40:00 -07:00
2017-02-28 08:00:06 -05:00
2018-04-09 11:45:58 -04:00
2016-02-13 04:40:22 -08:00
2016-04-20 08:40:00 -07:00
2017-08-15 17:01:36 -04:00
2015-06-23 20:59:57 -07:00
2016-05-27 08:06:31 -07:00
2015-06-23 20:59:57 -07:00
2017-09-12 21:17:07 -04:00
2018-07-10 15:10:51 +02:00
2018-08-28 12:02:21 -07:00
2017-08-03 09:18:58 -06:00
2016-01-07 10:20:20 +09:00
2015-12-12 18:46:38 -08:00
2015-06-23 20:59:57 -07:00
2015-06-23 20:59:57 -07:00
2018-04-09 11:45:58 -04:00
2015-06-23 20:59:57 -07:00
2015-06-23 20:59:57 -07:00
2018-04-09 11:45:58 -04:00
2014-12-22 15:14:33 +09:00
2015-06-23 20:59:57 -07:00
2015-06-23 20:59:57 -07:00
2015-10-20 17:14:15 +03:00
2015-06-23 20:59:57 -07:00
2018-05-25 08:48:50 -07:00
2014-10-02 11:32:54 -07:00
2014-09-13 00:28:30 +00:00
2016-09-29 21:47:24 -05:00
2014-10-22 18:57:40 -07:00
2018-06-19 11:18:41 +09:00
2016-07-29 09:14:09 +09:00
2015-06-23 20:59:57 -07:00
2016-07-12 10:09:32 +09:00
2015-06-23 20:59:57 -07:00
2018-04-12 21:33:49 +09:00
2017-10-30 16:19:37 +09:00
2015-06-23 20:59:57 -07:00
2018-05-25 08:48:50 -07:00
2015-06-23 20:59:57 -07:00
2017-09-12 21:17:37 -04:00
2017-03-11 12:50:38 -08:00
2016-04-20 08:40:00 -07:00
2017-05-06 19:08:50 -07:00
2017-07-12 10:01:56 +09:00
2018-06-06 07:40:03 -07:00
2016-11-04 05:01:42 -07:00
2015-06-23 20:59:57 -07:00
2017-09-01 13:24:34 +09:00
2018-05-25 08:48:50 -07:00
2016-11-22 15:03:20 -08:00
2018-04-09 11:45:58 -04:00