[sanitizer] Improve FreeBSD ASLR detection
[llvm-project.git] / openmp / libomptarget / plugins / aarch64 / CMakeLists.txt
blob350a56cb9a493b485cbfccfffa7c1165d52a3649
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 offloading plugin: machine not found in the system.")
17 endif()