diff --git a/build/pkgs/llvm/SPKG.rst b/build/pkgs/llvm/SPKG.rst new file mode 100644 index 00000000000..03cf6f1a7c6 --- /dev/null +++ b/build/pkgs/llvm/SPKG.rst @@ -0,0 +1,22 @@ +llvm: The LLVM Compiler Infrastructure, including the Clang C/C++/Objective-C compiler +====================================================================================== + +Description +----------- + +The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. + +Clang is an "LLVM native" C/C++/Objective-C compiler. + +The libc++ and libc++ ABI projects provide a standard conformant and high-performance +implementation of the C++ Standard Library, including full support for C++11 and C++14. + +License +------- + +Apache 2.0 License with LLVM exceptions + +Upstream Contact +---------------- + +https://llvm.org/ diff --git a/build/pkgs/llvm/distros/alpine.txt b/build/pkgs/llvm/distros/alpine.txt new file mode 100644 index 00000000000..e671fa21003 --- /dev/null +++ b/build/pkgs/llvm/distros/alpine.txt @@ -0,0 +1 @@ +clang diff --git a/build/pkgs/llvm/distros/arch.txt b/build/pkgs/llvm/distros/arch.txt new file mode 100644 index 00000000000..e671fa21003 --- /dev/null +++ b/build/pkgs/llvm/distros/arch.txt @@ -0,0 +1 @@ +clang diff --git a/build/pkgs/llvm/distros/cygwin.txt b/build/pkgs/llvm/distros/cygwin.txt new file mode 100644 index 00000000000..e671fa21003 --- /dev/null +++ b/build/pkgs/llvm/distros/cygwin.txt @@ -0,0 +1 @@ +clang diff --git a/build/pkgs/llvm/distros/debian.txt b/build/pkgs/llvm/distros/debian.txt new file mode 100644 index 00000000000..d9c90515cfc --- /dev/null +++ b/build/pkgs/llvm/distros/debian.txt @@ -0,0 +1 @@ +llvm-toolchain diff --git a/build/pkgs/llvm/distros/fedora.txt b/build/pkgs/llvm/distros/fedora.txt new file mode 100644 index 00000000000..e671fa21003 --- /dev/null +++ b/build/pkgs/llvm/distros/fedora.txt @@ -0,0 +1 @@ +clang diff --git a/build/pkgs/llvm/distros/freebsd.txt b/build/pkgs/llvm/distros/freebsd.txt new file mode 100644 index 00000000000..0c56db703cc --- /dev/null +++ b/build/pkgs/llvm/distros/freebsd.txt @@ -0,0 +1 @@ +devel/llvm diff --git a/build/pkgs/llvm/distros/gentoo.txt b/build/pkgs/llvm/distros/gentoo.txt new file mode 100644 index 00000000000..fdca4430686 --- /dev/null +++ b/build/pkgs/llvm/distros/gentoo.txt @@ -0,0 +1 @@ +sys-devel/clang diff --git a/build/pkgs/llvm/distros/homebrew.txt b/build/pkgs/llvm/distros/homebrew.txt new file mode 100644 index 00000000000..453889a6bc6 --- /dev/null +++ b/build/pkgs/llvm/distros/homebrew.txt @@ -0,0 +1 @@ +llvm diff --git a/build/pkgs/llvm/distros/macports.txt b/build/pkgs/llvm/distros/macports.txt new file mode 100644 index 00000000000..e671fa21003 --- /dev/null +++ b/build/pkgs/llvm/distros/macports.txt @@ -0,0 +1 @@ +clang diff --git a/build/pkgs/llvm/distros/nix.txt b/build/pkgs/llvm/distros/nix.txt new file mode 100644 index 00000000000..e671fa21003 --- /dev/null +++ b/build/pkgs/llvm/distros/nix.txt @@ -0,0 +1 @@ +clang diff --git a/build/pkgs/llvm/distros/openbsd.txt b/build/pkgs/llvm/distros/openbsd.txt new file mode 100644 index 00000000000..0c56db703cc --- /dev/null +++ b/build/pkgs/llvm/distros/openbsd.txt @@ -0,0 +1 @@ +devel/llvm diff --git a/build/pkgs/llvm/distros/opensuse.txt b/build/pkgs/llvm/distros/opensuse.txt new file mode 100644 index 00000000000..453889a6bc6 --- /dev/null +++ b/build/pkgs/llvm/distros/opensuse.txt @@ -0,0 +1 @@ +llvm diff --git a/build/pkgs/llvm/distros/slackware.txt b/build/pkgs/llvm/distros/slackware.txt new file mode 100644 index 00000000000..453889a6bc6 --- /dev/null +++ b/build/pkgs/llvm/distros/slackware.txt @@ -0,0 +1 @@ +llvm diff --git a/build/pkgs/llvm/distros/void.txt b/build/pkgs/llvm/distros/void.txt new file mode 100644 index 00000000000..e671fa21003 --- /dev/null +++ b/build/pkgs/llvm/distros/void.txt @@ -0,0 +1 @@ +clang diff --git a/build/pkgs/llvm/spkg-configure.m4 b/build/pkgs/llvm/spkg-configure.m4 new file mode 100644 index 00000000000..26aceec5276 --- /dev/null +++ b/build/pkgs/llvm/spkg-configure.m4 @@ -0,0 +1,3 @@ +SAGE_SPKG_CONFIGURE([llvm], [ + sage_require_llvm=no +]) diff --git a/build/pkgs/llvm/spkg-install b/build/pkgs/llvm/spkg-install new file mode 100755 index 00000000000..4233e976c04 --- /dev/null +++ b/build/pkgs/llvm/spkg-install @@ -0,0 +1,4 @@ +#! /usr/bin/env bash +echo Error: llvm is not installed. +echo Please install it, for example using the system packages recommended by ./configure +exit 1 diff --git a/build/pkgs/llvm/type b/build/pkgs/llvm/type new file mode 100644 index 00000000000..134d9bc32d5 --- /dev/null +++ b/build/pkgs/llvm/type @@ -0,0 +1 @@ +optional