[Workflow] Roll back some settings since they caused more issues
[llvm-project.git] / libc / src / sched / linux / CMakeLists.txt
blobd53c6e5d45052e44580c798558d40935ceefc77c
1 add_entrypoint_object(
2   sched_getaffinity
3   SRCS
4     sched_getaffinity.cpp
5   HDRS
6     ../sched_getaffinity.h
7   DEPENDS
8     libc.include.sched
9     libc.src.__support.OSUtil.osutil
10     libc.src.errno.errno
13 add_entrypoint_object(
14   sched_setaffinity
15   SRCS
16     sched_setaffinity.cpp
17   HDRS
18     ../sched_setaffinity.h
19   DEPENDS
20     libc.include.sched
21     libc.src.__support.OSUtil.osutil
22     libc.src.errno.errno
25 add_entrypoint_object(
26   __sched_getcpucount
27   SRCS
28     sched_getcpucount.cpp
29   HDRS
30     ../sched_getcpucount.h
31   DEPENDS
32     libc.include.sched
33   )
35 add_entrypoint_object(
36   sched_yield
37   SRCS
38     sched_yield.cpp
39   HDRS
40     ../sched_yield.h
41   DEPENDS
42     libc.include.sys_syscall
43     libc.src.__support.OSUtil.osutil
44     libc.src.errno.errno
47 add_entrypoint_object(
48   sched_setparam
49   SRCS
50     sched_setparam.cpp
51   HDRS
52     ../sched_setparam.h
53   DEPENDS
54     libc.include.sys_syscall
55     libc.src.__support.OSUtil.osutil
56     libc.src.errno.errno
59 add_entrypoint_object(
60   sched_getparam
61   SRCS
62     sched_getparam.cpp
63   HDRS
64     ../sched_getparam.h
65   DEPENDS
66     libc.include.sys_syscall
67     libc.src.__support.OSUtil.osutil
68     libc.src.errno.errno
71 add_entrypoint_object(
72   sched_setscheduler
73   SRCS
74     sched_setscheduler.cpp
75   HDRS
76     ../sched_setscheduler.h
77   DEPENDS
78     libc.include.sys_syscall
79     libc.src.__support.OSUtil.osutil
80     libc.src.errno.errno
83 add_entrypoint_object(
84   sched_getscheduler
85   SRCS
86     sched_getscheduler.cpp
87   HDRS
88     ../sched_getscheduler.h
89   DEPENDS
90     libc.include.sys_syscall
91     libc.src.__support.OSUtil.osutil
92     libc.src.errno.errno
95 add_entrypoint_object(
96   sched_get_priority_min
97   SRCS
98     sched_get_priority_min.cpp
99   HDRS
100     ../sched_get_priority_min.h
101   DEPENDS
102     libc.include.sys_syscall
103     libc.src.__support.OSUtil.osutil
104     libc.src.errno.errno
107 add_entrypoint_object(
108   sched_get_priority_max
109   SRCS
110     sched_get_priority_max.cpp
111   HDRS
112     ../sched_get_priority_max.h
113   DEPENDS
114     libc.include.sys_syscall
115     libc.src.__support.OSUtil.osutil
116     libc.src.errno.errno
119 add_entrypoint_object(
120   sched_rr_get_interval
121   SRCS
122     sched_rr_get_interval.cpp
123   HDRS
124     ../sched_rr_get_interval.h
125   DEPENDS
126     libc.include.sys_syscall
127     libc.src.__support.OSUtil.osutil
128     libc.src.errno.errno