From 1939e567d6dc7be5cc9495cacde6b984e58409a0 Mon Sep 17 00:00:00 2001 From: Robert Cohn Date: Sun, 9 Oct 2022 09:14:52 -0400 Subject: basic support for oneapi compilers --- docs/markdown/Reference-tables.md | 2 ++ docs/markdown/snippets/oneapi_compilers.md | 8 ++++++++ 2 files changed, 10 insertions(+) create mode 100644 docs/markdown/snippets/oneapi_compilers.md (limited to 'docs/markdown') diff --git a/docs/markdown/Reference-tables.md b/docs/markdown/Reference-tables.md index fde816d..d2df3c8 100644 --- a/docs/markdown/Reference-tables.md +++ b/docs/markdown/Reference-tables.md @@ -20,6 +20,8 @@ These are return values of the `get_id` (Compiler family) and | gcc | The GNU Compiler Collection | gcc | | intel | Intel compiler (Linux and Mac) | gcc | | intel-cl | Intel compiler (Windows) | msvc | +| intel-llvm | Intel oneAPI LLVM-based compiler | | +| intel-llvm-cl | Intel oneAPI LLVM-based compiler (Windows) | msvc | | lcc | Elbrus C/C++/Fortran Compiler | | | llvm | LLVM-based compiler (Swift, D) | | | mono | Xamarin C# compiler | | diff --git a/docs/markdown/snippets/oneapi_compilers.md b/docs/markdown/snippets/oneapi_compilers.md new file mode 100644 index 0000000..a456e30 --- /dev/null +++ b/docs/markdown/snippets/oneapi_compilers.md @@ -0,0 +1,8 @@ +## Basic support for oneAPI compilers on Linux and Windows + +To use on Linux: + +``` +source /opt/intel/oneapi/setvars.sh +CC=icx CXX=icpx FC=ifx meson setup builddir +``` -- cgit v1.1