1##===----------------------------------------------------------------------===## 2# 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 6# 7##===----------------------------------------------------------------------===## 8# 9# Build a plugin for a ppc64le machine if available. 10# 11##===----------------------------------------------------------------------===## 12 13if(CMAKE_SYSTEM_NAME MATCHES "Linux") 14 build_generic_elf64("ppc64le" "PPC64le" "ppc64" "powerpc64le-ibm-linux-gnu" "21") 15else() 16 libomptarget_say("Not building ppc64le offloading plugin: machine not found in the system.") 17endif()