Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / openmp / libomptarget / plugins-nextgen / aarch64 / CMakeLists.txt
blob2c2b753590e205cd1e5d68d1ff89233eb10dbb1c
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 an aarch64 machine if available.
11 ##===----------------------------------------------------------------------===##
13 if(CMAKE_SYSTEM_NAME MATCHES "Linux")
14   build_generic_elf64("aarch64" "aarch64" "aarch64" "aarch64-unknown-linux-gnu" "183")
15 else()
16  libomptarget_say("Not building aarch64 NextGen offloading plugin: machine not found in the system.")
17 endif()