Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2022-04-12 00:44:44 +0300
committerFangrui Song <i@maskray.me>2022-04-12 00:44:45 +0300
commita8ef1647aa61352940f07b7d036e6907c5a79ccf (patch)
tree3d4373a4f5f4bf24dd544dad20f0ff8a85c380dd /utils
parent2ce25628760ab2bbab764fc48c086704b4d6e279 (diff)
[CMake][gn][Bazel] Remove HAVE_PTHREAD_GETSPECIFIC
The only user was removed by d351f54a076edf24c2a2bfda7cc7e3313ee3eecf.
Diffstat (limited to 'utils')
-rw-r--r--utils/bazel/llvm-project-overlay/llvm/config.bzl1
-rw-r--r--utils/bazel/llvm-project-overlay/llvm/include/llvm/Config/config.h3
-rw-r--r--utils/bazel/llvm_configs/config.h.cmake3
3 files changed, 0 insertions, 7 deletions
diff --git a/utils/bazel/llvm-project-overlay/llvm/config.bzl b/utils/bazel/llvm-project-overlay/llvm/config.bzl
index 2046b2645362..c09fdce5bd46 100644
--- a/utils/bazel/llvm-project-overlay/llvm/config.bzl
+++ b/utils/bazel/llvm-project-overlay/llvm/config.bzl
@@ -28,7 +28,6 @@ posix_defines = [
"HAVE_DEREGISTER_FRAME=1",
"HAVE_LIBPTHREAD=1",
"HAVE_PTHREAD_GETNAME_NP=1",
- "HAVE_PTHREAD_GETSPECIFIC=1",
"HAVE_PTHREAD_H=1",
"HAVE_PTHREAD_SETNAME_NP=1",
"HAVE_REGISTER_FRAME=1",
diff --git a/utils/bazel/llvm-project-overlay/llvm/include/llvm/Config/config.h b/utils/bazel/llvm-project-overlay/llvm/include/llvm/Config/config.h
index 14a313022d8f..be872fbf2291 100644
--- a/utils/bazel/llvm-project-overlay/llvm/include/llvm/Config/config.h
+++ b/utils/bazel/llvm-project-overlay/llvm/include/llvm/Config/config.h
@@ -168,9 +168,6 @@
/* Define to 1 if you have the `pread' function. */
#define HAVE_PREAD 1
-/* Have pthread_getspecific */
-#define HAVE_PTHREAD_GETSPECIFIC 1
-
/* Define to 1 if you have the <pthread.h> header file. */
/* HAVE_PTHREAD_H defined in Bazel */
diff --git a/utils/bazel/llvm_configs/config.h.cmake b/utils/bazel/llvm_configs/config.h.cmake
index cc514b17f8f0..ab8add2e5823 100644
--- a/utils/bazel/llvm_configs/config.h.cmake
+++ b/utils/bazel/llvm_configs/config.h.cmake
@@ -155,9 +155,6 @@
/* Define to 1 if you have the `pread' function. */
#cmakedefine HAVE_PREAD ${HAVE_PREAD}
-/* Have pthread_getspecific */
-#cmakedefine HAVE_PTHREAD_GETSPECIFIC ${HAVE_PTHREAD_GETSPECIFIC}
-
/* Define to 1 if you have the <pthread.h> header file. */
#cmakedefine HAVE_PTHREAD_H ${HAVE_PTHREAD_H}