[llvm-shlib] Fix the version naming style of libLLVM for Windows (#85710)
[llvm-project.git] / openmp / libomptarget / plugins-nextgen / s390x / CMakeLists.txt
blob1b12a292899980ea99e82d37f0524d17c2254221
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 s390x machine if available.
11 ##===----------------------------------------------------------------------===##
13 if(CMAKE_SYSTEM_NAME MATCHES "Linux")
14  build_generic_elf64("SystemZ" "S390X" "s390x" "s390x-ibm-linux-gnu" "22")
15 else()
16  libomptarget_say("Not building s390x NextGen offloading plugin: machine not found in the system.")
17 endif()