File: git-libatomic

package info (click to toggle)
eztrace 2.0%2Brepack-12
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,132 kB
  • sloc: ansic: 23,501; perl: 910; sh: 857; cpp: 771; makefile: 696; fortran: 327; f90: 320; python: 57
file content (66 lines) | stat: -rw-r--r-- 2,048 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
commit 0c0505044d9b527ba612da150e610df249729acc
Author: François Trahay <francois.trahay@telecom-sudparis.eu>
Date:   Tue Aug 23 15:58:42 2022 +0200

    explicitly link against libatomic so that atomic operations are supported on some architectures (eg mipsel, powerpc)

diff --git a/src/eztrace-lib/CMakeLists.txt b/src/eztrace-lib/CMakeLists.txt
index b746fdf9..10ced606 100644
--- a/src/eztrace-lib/CMakeLists.txt
+++ b/src/eztrace-lib/CMakeLists.txt
@@ -30,6 +30,7 @@ target_compile_options(eztrace-lib
 target_link_libraries(eztrace-lib
   PRIVATE
     ${OTF2_LIBRARY}
+    atomic
   PUBLIC
     eztrace-core
     dl
diff --git a/src/modules/iotracer/CMakeLists.txt b/src/modules/iotracer/CMakeLists.txt
index 6755ed4e..2a51d2ea 100644
--- a/src/modules/iotracer/CMakeLists.txt
+++ b/src/modules/iotracer/CMakeLists.txt
@@ -7,6 +7,7 @@ add_library(eztrace-iotracer SHARED
 
 target_link_libraries(eztrace-iotracer
   PRIVATE
+    atomic
     dl
     eztrace-core
     eztrace-lib
diff --git a/src/modules/omp/CMakeLists.txt b/src/modules/omp/CMakeLists.txt
index 2b50f361..8e8cae84 100644
--- a/src/modules/omp/CMakeLists.txt
+++ b/src/modules/omp/CMakeLists.txt
@@ -47,6 +47,7 @@ add_library(eztrace-openmp SHARED
 
 target_link_libraries(eztrace-openmp
   PRIVATE
+    atomic
     dl
     eztrace-core
     eztrace-instrumentation
diff --git a/src/modules/ompt/CMakeLists.txt b/src/modules/ompt/CMakeLists.txt
index 5e13a8f1..03c43c0c 100644
--- a/src/modules/ompt/CMakeLists.txt
+++ b/src/modules/ompt/CMakeLists.txt
@@ -6,6 +6,7 @@ add_library(eztrace-ompt SHARED
 
 target_link_libraries(eztrace-ompt
   PRIVATE
+    atomic
     dl
     eztrace-core
     eztrace-lib
diff --git a/src/modules/posixio/CMakeLists.txt b/src/modules/posixio/CMakeLists.txt
index 52c82bfc..bb2386f1 100644
--- a/src/modules/posixio/CMakeLists.txt
+++ b/src/modules/posixio/CMakeLists.txt
@@ -7,6 +7,7 @@ add_library(eztrace-posixio SHARED
 
 target_link_libraries(eztrace-posixio
   PRIVATE
+    atomic
     dl
     eztrace-core
     eztrace-instrumentation