summaryrefslogtreecommitdiff
path: root/3rdparty/plibsys/platforms/linux-cray/platform.cmake
blob: fc125c0bbff589b574e5cb3a00387091b9b7d219 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
set (PLIBSYS_THREAD_MODEL posix)
set (PLIBSYS_IPC_MODEL posix)
set (PLIBSYS_TIME_PROFILER_MODEL posix)
set (PLIBSYS_DIR_MODEL posix)
set (PLIBSYS_LIBRARYLOADER_MODEL posix)

set (PLIBSYS_PLATFORM_LINK_LIBRARIES rt dl)
set (PLIBSYS_PLATFORM_CFLAGS "-h threadsafe -h nomessage=186 -O1")

set (PLIBSYS_PLATFORM_DEFINES
        -D_GNU_SOURCE
)

message ("
         Cray compiler has an optimization bug on SHA-1 algorithm
         when using optimization levels higher than O1. Thus
         O1 is enabled by default.
         ")