From 83c9f749901cf81383a395b2631ae00cc0d79cfa Mon Sep 17 00:00:00 2001 From: Justin LaPolla Date: Thu, 14 Dec 2017 10:07:25 -0600 Subject: [PATCH] Add '-lrt' to 'cray.hpp' test specification --- include/boost/config/compiler/cray.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/boost/config/compiler/cray.hpp b/include/boost/config/compiler/cray.hpp index 0575f634..4dd349c5 100644 --- a/include/boost/config/compiler/cray.hpp +++ b/include/boost/config/compiler/cray.hpp @@ -36,11 +36,14 @@ // ``` // module load cce/8.6.5 # Pick the version you want to test. // cd boost/libs/config/test/all -// b2 -j 8 toolset=craype cxxstd=03 cxxstd=11 cxxstd=14 cxxstd-dialect=gnu +// b2 -j 8 toolset=craype cxxstd=03 cxxstd=11 cxxstd=14 cxxstd-dialect=gnu linkflags=-lrt // ``` // // Using 'cxxstd-dialect=iso' is not supported at this time (the tests run, // but many tests fail). +// +// 'linkflags=-lrt' is needed. Otherwise you get an 'undefined reference to +// clock_gettime' error. //// //// Front matter