svn commit: r550271 - head/devel/llvm80/files

Piotr Kubaj pkubaj at FreeBSD.org
Sun Sep 27 11:50:22 UTC 2020


Author: pkubaj
Date: Sun Sep 27 11:50:21 2020
New Revision: 550271
URL: https://svnweb.freebsd.org/changeset/ports/550271

Log:
  devel/llvm80: add powerpc64le support
  
  llvm80 builds without it on powerpc64le, but __ELF__ is not defined, breaking e.g. creduce.

Added:
  head/devel/llvm80/files/patch-tools_clang_lib_Basic_Targets.cpp   (contents, props changed)

Added: head/devel/llvm80/files/patch-tools_clang_lib_Basic_Targets.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/llvm80/files/patch-tools_clang_lib_Basic_Targets.cpp	Sun Sep 27 11:50:21 2020	(r550271)
@@ -0,0 +1,11 @@
+--- tools/clang/lib/Basic/Targets.cpp.orig	2020-09-27 10:34:55 UTC
++++ tools/clang/lib/Basic/Targets.cpp
+@@ -357,6 +357,8 @@ TargetInfo *AllocateTarget(const llvm::Triple &Triple,
+     switch (os) {
+     case llvm::Triple::Linux:
+       return new LinuxTargetInfo<PPC64TargetInfo>(Triple, Opts);
++    case llvm::Triple::FreeBSD:
++      return new FreeBSDTargetInfo<PPC64TargetInfo>(Triple, Opts);
+     case llvm::Triple::NetBSD:
+       return new NetBSDTargetInfo<PPC64TargetInfo>(Triple, Opts);
+     default:


More information about the svn-ports-all mailing list