From 93c01ab6b82fd6b17d5328e7e2f7eeca7f13441b Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 28 Aug 2026 13:04:05 +0900 Subject: internal/rosa/package/llvm: 22.1.8 to 23.1.0 libclc is removed from the LLVM package and will be re-added as a separate package. Signed-off-by: Ophestra --- internal/rosa/package/llvm/add-rosa-vendor.patch | 36 +++++++++--------------- 1 file changed, 14 insertions(+), 22 deletions(-) (limited to 'internal/rosa/package/llvm/add-rosa-vendor.patch') diff --git a/internal/rosa/package/llvm/add-rosa-vendor.patch b/internal/rosa/package/llvm/add-rosa-vendor.patch index 919403a3..cef7fd80 100644 --- a/internal/rosa/package/llvm/add-rosa-vendor.patch +++ b/internal/rosa/package/llvm/add-rosa-vendor.patch @@ -1,8 +1,8 @@ diff --git a/llvm/include/llvm/TargetParser/Triple.h b/llvm/include/llvm/TargetParser/Triple.h -index 9c83abeeb3b1..5acfe5836a23 100644 +index d819c4975b13..d634c4a21173 100644 --- a/llvm/include/llvm/TargetParser/Triple.h +++ b/llvm/include/llvm/TargetParser/Triple.h -@@ -190,6 +190,7 @@ public: +@@ -280,6 +280,7 @@ public: Apple, PC, @@ -10,23 +10,15 @@ index 9c83abeeb3b1..5acfe5836a23 100644 SCEI, Freescale, IBM, -diff --git a/llvm/lib/TargetParser/Triple.cpp b/llvm/lib/TargetParser/Triple.cpp -index a4f9dd42c0fe..cb5a12387034 100644 ---- a/llvm/lib/TargetParser/Triple.cpp -+++ b/llvm/lib/TargetParser/Triple.cpp -@@ -279,6 +279,7 @@ StringRef Triple::getVendorTypeName(VendorType Kind) { - case NVIDIA: return "nvidia"; - case OpenEmbedded: return "oe"; - case PC: return "pc"; -+ case Rosa: return "rosa"; - case SCEI: return "scei"; - case SUSE: return "suse"; - case Meta: -@@ -689,6 +690,7 @@ static Triple::VendorType parseVendor(StringRef VendorName) { - return StringSwitch(VendorName) - .Case("apple", Triple::Apple) - .Case("pc", Triple::PC) -+ .Case("rosa", Triple::Rosa) - .Case("scei", Triple::SCEI) - .Case("sie", Triple::SCEI) - .Case("fsl", Triple::Freescale) +diff --git a/llvm/include/llvm/TargetParser/TripleName.def b/llvm/include/llvm/TargetParser/TripleName.def +index bbc03b318801..4daed1da68cc 100644 +--- a/llvm/include/llvm/TargetParser/TripleName.def ++++ b/llvm/include/llvm/TargetParser/TripleName.def +@@ -189,6 +189,7 @@ TRIPLE_VENDOR(MipsTechnologies, "mti") + TRIPLE_VENDOR(NVIDIA, "nvidia") + TRIPLE_VENDOR(OpenEmbedded, "oe") + TRIPLE_VENDOR(PC, "pc") ++TRIPLE_VENDOR(Rosa, "rosa") + TRIPLE_VENDOR(SCEI, "scei") + TRIPLE_VENDOR_ALIAS(SCEI, "sie") + TRIPLE_VENDOR(SUSE, "suse") -- cgit v1.3.1