[NFC][Py Reformat] Added more commits to .git-blame-ignore-revs
[llvm-project.git] / libc / src / pthread / CMakeLists.txt
blobb9d9ff0d5e7eeef19aec1ca6c3e1b2a0f19b9ffd
1 add_entrypoint_object(
2   pthread_attr_init
3   SRCS
4     pthread_attr_init.cpp
5   HDRS
6     pthread_attr_init.h
7   DEPENDS
8     libc.include.pthread
11 add_entrypoint_object(
12   pthread_attr_destroy
13   SRCS
14     pthread_attr_destroy.cpp
15   HDRS
16     pthread_attr_destroy.h
17   DEPENDS
18     libc.include.pthread
21 add_entrypoint_object(
22   pthread_attr_getdetachstate
23   SRCS
24     pthread_attr_getdetachstate.cpp
25   HDRS
26     pthread_attr_getdetachstate.h
27   DEPENDS
28     libc.include.pthread
31 add_entrypoint_object(
32   pthread_attr_setdetachstate
33   SRCS
34     pthread_attr_setdetachstate.cpp
35   HDRS
36     pthread_attr_setdetachstate.h
37   DEPENDS
38     libc.include.pthread
41 add_entrypoint_object(
42   pthread_attr_getguardsize
43   SRCS
44     pthread_attr_getguardsize.cpp
45   HDRS
46     pthread_attr_getguardsize.h
47   DEPENDS
48     libc.include.pthread
51 add_entrypoint_object(
52   pthread_attr_setguardsize
53   SRCS
54     pthread_attr_setguardsize.cpp
55   HDRS
56     pthread_attr_setguardsize.h
57   DEPENDS
58     libc.include.pthread
61 add_entrypoint_object(
62   pthread_attr_getstacksize
63   SRCS
64     pthread_attr_getstacksize.cpp
65   HDRS
66     pthread_attr_getstacksize.h
67   DEPENDS
68     libc.include.pthread
71 add_entrypoint_object(
72   pthread_attr_setstacksize
73   SRCS
74     pthread_attr_setstacksize.cpp
75   HDRS
76     pthread_attr_setstacksize.h
77   DEPENDS
78     libc.include.pthread
81 add_entrypoint_object(
82   pthread_attr_getstack
83   SRCS
84     pthread_attr_getstack.cpp
85   HDRS
86     pthread_attr_getstack.h
87   DEPENDS
88     libc.include.pthread
91 add_entrypoint_object(
92   pthread_attr_setstack
93   SRCS
94     pthread_attr_setstack.cpp
95   HDRS
96     pthread_attr_setstack.h
97   DEPENDS
98     libc.include.pthread
101 add_header_library(
102   pthread_mutexattr
103   HDRS
104     pthread_mutexattr.h
105   DEPENDS
106     libc.src.__support.common
107     libc.include.pthread
110 add_entrypoint_object(
111   pthread_mutexattr_init
112   SRCS
113     pthread_mutexattr_init.cpp
114   HDRS
115     pthread_mutexattr_init.h
116   DEPENDS
117     .pthread_mutexattr
118     libc.include.pthread
121 add_entrypoint_object(
122   pthread_mutexattr_gettype
123   SRCS
124     pthread_mutexattr_gettype.cpp
125   HDRS
126     pthread_mutexattr_gettype.h
127   DEPENDS
128     .pthread_mutexattr
129     libc.include.pthread
132 add_entrypoint_object(
133   pthread_mutexattr_settype
134   SRCS
135     pthread_mutexattr_settype.cpp
136   HDRS
137     pthread_mutexattr_settype.h
138   DEPENDS
139     .pthread_mutexattr
140     libc.include.pthread
143 add_entrypoint_object(
144   pthread_mutexattr_destroy
145   SRCS
146     pthread_mutexattr_destroy.cpp
147   HDRS
148     pthread_mutexattr_destroy.h
149   DEPENDS
150     .pthread_mutexattr
151     libc.include.errno
152     libc.include.pthread
155 add_entrypoint_object(
156   pthread_mutexattr_getrobust
157   SRCS
158     pthread_mutexattr_getrobust.cpp
159   HDRS
160     pthread_mutexattr_getrobust.h
161   DEPENDS
162     .pthread_mutexattr
163     libc.include.pthread
166 add_entrypoint_object(
167   pthread_mutexattr_setrobust
168   SRCS
169     pthread_mutexattr_setrobust.cpp
170   HDRS
171     pthread_mutexattr_setrobust.h
172   DEPENDS
173     .pthread_mutexattr
174     libc.include.errno
175     libc.include.pthread
178 add_entrypoint_object(
179   pthread_mutexattr_getpshared
180   SRCS
181     pthread_mutexattr_getpshared.cpp
182   HDRS
183     pthread_mutexattr_getpshared.h
184   DEPENDS
185     .pthread_mutexattr
186     libc.include.pthread
189 add_entrypoint_object(
190   pthread_mutexattr_setpshared
191   SRCS
192     pthread_mutexattr_setpshared.cpp
193   HDRS
194     pthread_mutexattr_setpshared.h
195   DEPENDS
196     .pthread_mutexattr
197     libc.include.errno
198     libc.include.pthread
201 add_entrypoint_object(
202   pthread_mutex_init
203   SRCS
204     pthread_mutex_init.cpp
205   HDRS
206     pthread_mutex_init.h
207   DEPENDS
208     .pthread_mutexattr
209     libc.include.errno
210     libc.include.pthread
211     libc.src.__support.threads.mutex
214 add_entrypoint_object(
215   pthread_mutex_destroy
216   SRCS
217     pthread_mutex_destroy.cpp
218   HDRS
219     pthread_mutex_destroy.h
220   DEPENDS
221     libc.include.pthread
222     libc.src.__support.threads.mutex
225 add_entrypoint_object(
226   pthread_mutex_lock
227   SRCS
228     pthread_mutex_lock.cpp
229   HDRS
230     pthread_mutex_lock.h
231   DEPENDS
232     libc.include.pthread
233     libc.src.__support.threads.mutex
236 add_entrypoint_object(
237   pthread_mutex_unlock
238   SRCS
239     pthread_mutex_unlock.cpp
240   HDRS
241     pthread_mutex_unlock.h
242   DEPENDS
243     libc.include.pthread
244     libc.src.__support.threads.mutex
247 add_entrypoint_object(
248   pthread_create
249   SRCS
250     pthread_create.cpp
251   HDRS
252     pthread_create.h
253   DEPENDS
254     libc.include.errno
255     libc.include.pthread
256     libc.src.__support.threads.thread
257   COMPILE_OPTIONS
258     -O3
259     -fno-omit-frame-pointer
262 add_entrypoint_object(
263   pthread_join
264   SRCS
265     pthread_join.cpp
266   HDRS
267     pthread_join.h
268   DEPENDS
269     libc.include.pthread
270     libc.src.__support.threads.thread
273 add_entrypoint_object(
274   pthread_detach
275   SRCS
276     pthread_detach.cpp
277   HDRS
278     pthread_detach.h
279   DEPENDS
280     libc.include.pthread
281     libc.src.__support.threads.thread
284 add_entrypoint_object(
285   pthread_equal
286   SRCS
287     pthread_equal.cpp
288   HDRS
289     pthread_equal.h
290   DEPENDS
291     libc.include.pthread
292     libc.src.__support.threads.thread
295 add_entrypoint_object(
296   pthread_exit
297   SRCS
298     pthread_exit.cpp
299   HDRS
300     pthread_exit.h
301   DEPENDS
302     libc.include.pthread
303     libc.src.__support.threads.thread
306 add_entrypoint_object(
307   pthread_self
308   SRCS
309     pthread_self.cpp
310   HDRS
311     pthread_self.h
312   DEPENDS
313     libc.include.pthread
314     libc.src.__support.threads.thread
317 add_entrypoint_object(
318   pthread_setname_np
319   SRCS
320     pthread_setname_np.cpp
321   HDRS
322     pthread_setname_np.h
323   DEPENDS
324     libc.include.pthread
325     libc.src.__support.CPP.span
326     libc.src.__support.CPP.stringstream
327     libc.src.__support.threads.thread
330 add_entrypoint_object(
331   pthread_getname_np
332   SRCS
333     pthread_getname_np.cpp
334   HDRS
335     pthread_getname_np.h
336   DEPENDS
337     libc.include.pthread
338     libc.src.__support.CPP.span
339     libc.src.__support.CPP.stringstream
340     libc.src.__support.threads.thread
343 add_entrypoint_object(
344   pthread_key_create
345   SRCS
346     pthread_key_create.cpp
347   HDRS
348     pthread_key_create.h
349   DEPENDS
350     libc.include.errno
351     libc.include.pthread
352     libc.src.__support.threads.thread
355 add_entrypoint_object(
356   pthread_key_delete
357   SRCS
358     pthread_key_delete.cpp
359   HDRS
360     pthread_key_delete.h
361   DEPENDS
362     libc.include.errno
363     libc.include.pthread
364     libc.src.__support.threads.thread
367 add_entrypoint_object(
368   pthread_getspecific
369   SRCS
370     pthread_getspecific.cpp
371   HDRS
372     pthread_getspecific.h
373   DEPENDS
374     libc.include.errno
375     libc.include.pthread
376     libc.src.__support.threads.thread
379 add_entrypoint_object(
380   pthread_setspecific
381   SRCS
382     pthread_setspecific.cpp
383   HDRS
384     pthread_setspecific.h
385   DEPENDS
386     libc.include.errno
387     libc.include.pthread
388     libc.src.__support.threads.thread
391 add_entrypoint_object(
392   pthread_once
393   SRCS
394     pthread_once.cpp
395   HDRS
396     pthread_once.h
397   DEPENDS
398     libc.include.pthread
399     libc.src.__support.threads.callonce
402 add_entrypoint_object(
403   pthread_atfork
404   SRCS
405     pthread_atfork.cpp
406   HDRS
407     pthread_atfork.h
408   DEPENDS
409     libc.include.errno
410     libc.include.pthread
411     libc.src.__support.threads.fork_callbacks