diff --git a/scripts/llvm-15.ini b/scripts/llvm-15.ini new file mode 100644 index 0000000000000000000000000000000000000000..2401cc50bbb1492ac3954b5ec6f5d2b942d27790 --- /dev/null +++ b/scripts/llvm-15.ini @@ -0,0 +1,14 @@ +# For compiling with LLVM 15 (both Clang and libc++) +# Useful for testing compilation under macOS with Xcode +# Under Debian, requires the following packages: clang-15 libc++-15-dev libc++abi-15-dev + +[binaries] +cpp = 'clang++-15' + +[built-in options] +# The -fexperimental-library flag is needed to have access to the ranges library +# Should no longer be needed with LLVM ⩾16. +# The -Wno-unqualified-std-cast-call remove many warnings about “move” not being +# qualified with “std::” namespace. +cpp_args = ['-stdlib=libc++', '-Wno-unqualified-std-cast-call', '-fexperimental-library' ] +cpp_link_args = [ '-stdlib=libc++' ]