[PATCH v1 1/1] rtems-tools: Update rtems-llvm to version 11.1.0

Jan Sommer jan.sommer at dlr.de
Fri Feb 10 09:16:27 UTC 2023


---
 rtems/config/6/rtems-llvm.bset           |  2 +-
 rtems/config/tools/rtems-llvm-11.1.0.cfg | 21 +++++++++++++++++++++
 source-builder/config/llvm-common-1.cfg  |  6 +++---
 3 files changed, 25 insertions(+), 4 deletions(-)
 create mode 100644 rtems/config/tools/rtems-llvm-11.1.0.cfg

diff --git a/rtems/config/6/rtems-llvm.bset b/rtems/config/6/rtems-llvm.bset
index 2b461a0..b1f5e5a 100644
--- a/rtems/config/6/rtems-llvm.bset
+++ b/rtems/config/6/rtems-llvm.bset
@@ -18,4 +18,4 @@
 %define swig_prefix %{_tmproot}/swig
 
 devel/swig
-tools/rtems-llvm-8.0.1
+tools/rtems-llvm-11.1.0
diff --git a/rtems/config/tools/rtems-llvm-11.1.0.cfg b/rtems/config/tools/rtems-llvm-11.1.0.cfg
new file mode 100644
index 0000000..3e99ad6
--- /dev/null
+++ b/rtems/config/tools/rtems-llvm-11.1.0.cfg
@@ -0,0 +1,21 @@
+#
+# LLVM
+#
+
+%define llvm_version   11.1.0
+
+%hash sha512 llvm-%{llvm_version}.src.tar.xz B7+ZczhBUaGNXMKJIQPl8oqIxjLo5JZi/eVtEjYy8u0bNxD6eoe2uCGVXQ7EQWD/NvKqTyM+OJ4U1ijpv43HZA==
+%hash sha512 clang-%{llvm_version}.src.tar.xz 9Lt+Te1h8sSJ4BMQQy2OBi66mS2ZLtZcouaafCDrXQyQ6BlouqpxwBrJ2W+BSi3MpO+Pi/rEzvbXkH7Ozgl9rA==
+%hash sha512 clang-tools-extra-%{llvm_version}.src.tar.xz tim4uMCjOQu2zSzmCSQqb5f+6pUJFFoutVZtCTWc7lb8UQ8h9fjRUI/11hLsuRdlcuY1jAHNhZD8eZiYw0hztg==
+%hash sha512 compiler-rt-%{llvm_version}.src.tar.xz mwslnMQ9Xk0gIAZ2vhU96BtIWz/fBlYj/3HH4YlOxcjtnZnBQW9wJGqw9BfLum0dSvnzdp4uZXdABoGnkTRiMQ==
+%hash sha512 libcxx-%{llvm_version}.src.tar.xz r1Mz2luQ9KRqUYRTIWT0xlIuPAOlgBMWJ8DxZ6uY+z5xs+FVGNbiJBQUFITsWrDRhClK5/EANOv+0o5wcoNrKA==
+%hash sha512 libcxxabi-%{llvm_version}.src.tar.xz C/OAb9k4LKZ5DKKo6ZFCTK9k6BQVOGh1JDVlA0JD8qx0QsWW48VezoCTLC7Fm3GAHj5BXe3J203Uw/Zraok1WA==
+%hash sha512 libunwind-%{llvm_version}.src.tar.xz UH8pzxoxjZdh/mMGsum1fAKjQvE4tH7FQg3OUnEyoz96/804aRN5LEcs7rn7HBsQW7oyNKFXWq4PaAJOlMjVlg==
+%hash sha512 lld-%{llvm_version}.src.tar.xz PiSZFOpzsq+2V13IwY4zn+B2Z4Su3bh827ynP/xHJQlyXjMLnBsn1pCfuRw3VetfKfndHMl/9qWfF/kTMX1YTw==
+%hash sha512 lldb-%{llvm_version}.src.tar.xz E+oVb0XdlyATyGJDN3CKhHhpMkmCsquIFapdTCUvp17klC5WVZoYTffxxg2PdU4Zi0Vt5+Wc6A3lhY6VEvt3XQ==
+%hash sha512 openmp-%{llvm_version}.src.tar.xz u+oQP0T0NvK7x9Vr538pI1wVr1eOi2rwLE8WLjRn42wSLaIa2kKPsY0JygPTk6jfmf/QIAhCbcxoDiA7oQPXug==
+
+#
+# The llvm build instructions.
+#
+%include %{_configdir}/llvm-common-1.cfg
diff --git a/source-builder/config/llvm-common-1.cfg b/source-builder/config/llvm-common-1.cfg
index 629d2bf..37c4341 100644
--- a/source-builder/config/llvm-common-1.cfg
+++ b/source-builder/config/llvm-common-1.cfg
@@ -33,7 +33,7 @@ URL: 	   http://llvm.org/
 #
 # Packages
 #
-%source set cfe                %{llvm_url}/cfe-%{llvm_version}.src.tar.xz
+%source set clang                %{llvm_url}/clang-%{llvm_version}.src.tar.xz
 %source set clang-tools-extra  %{llvm_url}/clang-tools-extra-%{llvm_version}.src.tar.xz
 %source set compiler-rt        %{llvm_url}/compiler-rt-%{llvm_version}.src.tar.xz
 %source set libcxx             %{llvm_url}/libcxx-%{llvm_version}.src.tar.xz
@@ -89,8 +89,8 @@ URL: 	   http://llvm.org/
   %source setup llvm -q -E
   %{__mv} llvm-%{llvm_version}.src ${source_dir_llvm}
 
-  %source setup cfe -q -E
-  %{__mv} cfe-%{llvm_version}.src ${source_dir_llvm}/tools/clang
+  %source setup clang -q -E
+  %{__mv} clang-%{llvm_version}.src ${source_dir_llvm}/tools/clang
 
   %source setup clang-tools-extra -q -E
   %{__mv} clang-tools-extra-%{llvm_version}.src ${source_dir_llvm}/tools/clang/extra
-- 
2.25.1



More information about the devel mailing list