Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / openmp / libomptarget / plugins-nextgen / x86_64 / CMakeLists.txt
blob129d526a2ae7841954c369868470bd4efbc8b34c
1 ##===----------------------------------------------------------------------===##
3 # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 # See https://llvm.org/LICENSE.txt for license information.
5 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 ##===----------------------------------------------------------------------===##
9 # Build a plugin for a x86_64 machine if available.
11 ##===----------------------------------------------------------------------===##
13 if(CMAKE_SYSTEM_NAME MATCHES "Linux")
14   build_generic_elf64("x86_64" "x86_64" "x86_64" "x86_64-pc-linux-gnu" "62")
15 else()
16  libomptarget_say("Not building x86_64 NextGen offloading plugin: machine not found in the system.")
17 endif()