aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/entropy/rdseed
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-01-18 23:14:42 -0500
committerJack Lloyd <[email protected]>2017-05-18 12:16:36 -0400
commit483640021d670ec4f657cbe6fd04046ff0cceb49 (patch)
treec723866d045ff2be0eebd18fc0982e32200d066d /src/lib/entropy/rdseed
parentadfaca119b15cec66dd74eb9c17c1242be846557 (diff)
Let modules specify minimum compiler version, add runtime compiler version check
This comes up recently to support CPU extensions by Intel (#826) and ARM (#844) since the intrinsic functions were only added in compiler versions more recent than the minimums we generally support, but might actually be useful for all kinds of things in the future since one can add a (new, otherwise optional) C++14 or C++17 module in 2.x branch while continuing to support the current set of supported compiler versions for the main library functionality. Uses RDSEED as the test case, to ensure version detection/comparisons work on all platforms.
Diffstat (limited to 'src/lib/entropy/rdseed')
-rw-r--r--src/lib/entropy/rdseed/info.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/entropy/rdseed/info.txt b/src/lib/entropy/rdseed/info.txt
index 13ea33175..8e37f808c 100644
--- a/src/lib/entropy/rdseed/info.txt
+++ b/src/lib/entropy/rdseed/info.txt
@@ -14,8 +14,8 @@ x86_64
</arch>
<cc>
-gcc
-clang
+gcc:4.8
+clang:3.2
icc
-msvc
+msvc:18
</cc>