Saturday, September 28, 2019

UPDATE: LLVM - mips64

mips64 has switched over to Clang by default.


Index: Makefile
===================================================================
RCS file: /home/cvs/ports/devel/llvm/Makefile,v
retrieving revision 1.234
diff -u -p -u -p -r1.234 Makefile
--- Makefile 9 Sep 2019 21:15:16 -0000 1.234
+++ Makefile 18 Sep 2019 23:40:55 -0000
@@ -18,7 +18,7 @@ PKGSPEC-main = llvm-=${LLVM_V}
PKGNAME-main = llvm-${LLVM_V}
PKGNAME-python = py-llvm-${LLVM_V}
PKGNAME-lldb = lldb-${LLVM_V}
-REVISION-main = 0
+REVISION-main = 1

CATEGORIES = devel

Index: patches/patch-tools_clang_lib_Driver_ToolChains_OpenBSD_cpp
===================================================================
RCS file: /home/cvs/ports/devel/llvm/patches/patch-tools_clang_lib_Driver_ToolChains_OpenBSD_cpp,v
retrieving revision 1.10
diff -u -p -u -p -r1.10 patch-tools_clang_lib_Driver_ToolChains_OpenBSD_cpp
--- patches/patch-tools_clang_lib_Driver_ToolChains_OpenBSD_cpp 8 Jul 2019 07:56:53 -0000 1.10
+++ patches/patch-tools_clang_lib_Driver_ToolChains_OpenBSD_cpp 27 Sep 2019 21:18:54 -0000
@@ -42,7 +42,7 @@ Index: tools/clang/lib/Driver/ToolChains
}

if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles)) {
-@@ -255,16 +266,70 @@ OpenBSD::OpenBSD(const Driver &D, const llvm::Triple &
+@@ -255,16 +266,71 @@ OpenBSD::OpenBSD(const Driver &D, const llvm::Triple &
getFilePaths().push_back(getDriver().SysRoot + "/usr/lib");
}

@@ -76,6 +76,7 @@ Index: tools/clang/lib/Driver/ToolChains
+ case llvm::Triple::aarch64:
+ case llvm::Triple::x86:
+ case llvm::Triple::x86_64:
++ case llvm::Triple::mips64:
+ return ToolChain::CST_Libcxx;
+ break;
+ default:

No comments:

Post a Comment