Skip to content

Commit 1460b49

Browse files
committed
[gn build] Manually port d423d80
1 parent 6cea7c4 commit 1460b49

File tree

1 file changed

+8
-9
lines changed
  • llvm/utils/gn/secondary/libcxx/include

1 file changed

+8
-9
lines changed

llvm/utils/gn/secondary/libcxx/include/BUILD.gn

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ if (current_toolchain == default_toolchain) {
3737
"_LIBCPP_INSTRUMENTED_WITH_ASAN=",
3838
"_LIBCPP_ABI_DEFINES=",
3939
"_LIBCPP_HARDENING_MODE_DEFAULT=_LIBCPP_HARDENING_MODE_NONE",
40-
"_LIBCPP_PSTL_CPU_BACKEND_LIBDISPATCH=",
41-
"_LIBCPP_PSTL_CPU_BACKEND_SERIAL=1",
42-
"_LIBCPP_PSTL_CPU_BACKEND_THREAD=",
40+
"_LIBCPP_PSTL_BACKEND_LIBDISPATCH=",
41+
"_LIBCPP_PSTL_BACKEND_SERIAL=1",
42+
"_LIBCPP_PSTL_BACKEND_STD_THREAD=",
4343
]
4444
if (libcxx_abi_version != 1) {
4545
values += [ "_LIBCPP_ABI_VERSION=$libcxx_abi_version" ]
@@ -143,18 +143,12 @@ if (current_toolchain == default_toolchain) {
143143
"__algorithm/pop_heap.h",
144144
"__algorithm/prev_permutation.h",
145145
"__algorithm/pstl_any_all_none_of.h",
146-
"__algorithm/pstl_backend.h",
147-
"__algorithm/pstl_backends/cpu_backend.h",
148146
"__algorithm/pstl_backends/cpu_backends/any_of.h",
149-
"__algorithm/pstl_backends/cpu_backends/backend.h",
150147
"__algorithm/pstl_backends/cpu_backends/fill.h",
151148
"__algorithm/pstl_backends/cpu_backends/find_if.h",
152149
"__algorithm/pstl_backends/cpu_backends/for_each.h",
153-
"__algorithm/pstl_backends/cpu_backends/libdispatch.h",
154150
"__algorithm/pstl_backends/cpu_backends/merge.h",
155-
"__algorithm/pstl_backends/cpu_backends/serial.h",
156151
"__algorithm/pstl_backends/cpu_backends/stable_sort.h",
157-
"__algorithm/pstl_backends/cpu_backends/thread.h",
158152
"__algorithm/pstl_backends/cpu_backends/transform.h",
159153
"__algorithm/pstl_backends/cpu_backends/transform_reduce.h",
160154
"__algorithm/pstl_copy.h",
@@ -664,6 +658,11 @@ if (current_toolchain == default_toolchain) {
664658
"__numeric/transform_exclusive_scan.h",
665659
"__numeric/transform_inclusive_scan.h",
666660
"__numeric/transform_reduce.h",
661+
"__pstl/backends/libdispatch.h",
662+
"__pstl/backends/serial.h",
663+
"__pstl/backends/std_thread.h",
664+
"__pstl/configuration.h",
665+
"__pstl/configuration_fwd.h",
667666
"__pstl/cpu_algos/cpu_traits.h",
668667
"__random/bernoulli_distribution.h",
669668
"__random/binomial_distribution.h",

0 commit comments

Comments
 (0)