Files
Vito Gamberini f69754ad63 SYCL: Initial language implementation
Add experimental support for SYCL under an experimental gate. The
IntelLLVM and Adaptivecpp compilers are recognized, as well as upstream
Clang with libsycl support.

Fixes: #27219, #27905
2026-10-07 11:43:31 -04:00

46 lines
932 B
CMake

include(RunCMake)
run_cmake(NotEnabledLanguage)
run_cmake(NonExistentLanguage)
run_cmake(UnknownArgument)
run_cmake(MultipleLanguages)
run_cmake(RequiredFlags)
run_cmake(Issue27893)
run_cmake(CheckCSourceCompiles)
run_cmake(CheckCXXSourceCompiles)
run_cmake(CheckSourceCompilesC)
run_cmake(CheckSourceCompilesCXX)
if (APPLE)
run_cmake(CheckOBJCSourceCompiles)
run_cmake(CheckOBJCXXSourceCompiles)
run_cmake(CheckSourceCompilesOBJC)
run_cmake(CheckSourceCompilesOBJCXX)
endif()
if (CMAKE_Fortran_COMPILER_ID)
run_cmake(CheckSourceCompilesFortran)
endif()
if (CMake_TEST_CUDA)
run_cmake(CheckSourceCompilesCUDA)
endif()
if (CMake_TEST_SYCL)
run_cmake_with_options(CheckSourceCompilesSYCL -Wno-experimental)
endif()
if(CMake_TEST_ISPC)
run_cmake(CheckSourceCompilesISPC)
endif()
if(CMake_TEST_HIP)
run_cmake(CheckSourceCompilesHIP)
endif()
if(CMake_TEST_Swift)
run_cmake(CheckSourceCompilesSwift)
endif()