[Clang] Remove `CLANG_OPENMP_NVPTX_DEFAULT_ARCH` CMake option.
authorJoseph Huber <jhuber6@vols.utk.edu>
Fri, 13 Jan 2023 20:57:34 +0000 (14:57 -0600)
committerJoseph Huber <jhuber6@vols.utk.edu>
Fri, 13 Jan 2023 22:52:07 +0000 (16:52 -0600)
commitd1f4bfd2a8b0b347aeaf6d486e4132af65b9ccf0
treecb8bd8bb354956757d68e46d2f402b163646ac0b
parent52b9a3974244183806ba862e161670d79885443a
[Clang] Remove `CLANG_OPENMP_NVPTX_DEFAULT_ARCH` CMake option.

The `CLANG_OPENMP_NVPTX_DEFAULT_ARCH` is a static build configuration to
set the default OpenMP value. This was replaced in D141708 with the use
of the `nvptx-arch` tool which lets us query this at runtime instead.
This makes the behaviour between AMD and NVIDIA be more consisten and
allows users to have a default architecture that does not rely on
whoever configured the LLVM build.

Depends on D141708

Reviewed By: tra, MaskRay

Differential Revision: https://reviews.llvm.org/D141723
clang/CMakeLists.txt
clang/include/clang/Config/config.h.cmake
llvm/utils/gn/secondary/clang/include/clang/Config/BUILD.gn
utils/bazel/llvm-project-overlay/clang/include/clang/Config/config.h