diff options
author | Robert Cohn <robert.s.cohn@intel.com> | 2022-10-09 09:14:52 -0400 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2022-10-24 18:55:22 +0300 |
commit | 1939e567d6dc7be5cc9495cacde6b984e58409a0 (patch) | |
tree | df970e2821e0b5b95841ba75e7ffab906f8af958 /docs | |
parent | 942aea230f5e517d5add194240c8943f28d79943 (diff) | |
download | meson-1939e567d6dc7be5cc9495cacde6b984e58409a0.zip meson-1939e567d6dc7be5cc9495cacde6b984e58409a0.tar.gz meson-1939e567d6dc7be5cc9495cacde6b984e58409a0.tar.bz2 |
basic support for oneapi compilers
Diffstat (limited to 'docs')
-rw-r--r-- | docs/markdown/Reference-tables.md | 2 | ||||
-rw-r--r-- | docs/markdown/snippets/oneapi_compilers.md | 8 |
2 files changed, 10 insertions, 0 deletions
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 +``` |