Bug 240516 - devel/llvm90: fix openmp on powerpc64
Summary: devel/llvm90: fix openmp on powerpc64
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Brooks Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-11 20:19 UTC by Piotr Kubaj
Modified: 2019-09-12 15:13 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (brooks)


Attachments
patch (5.09 KB, patch)
2019-09-11 20:19 UTC, Piotr Kubaj
no flags Details | Diff
v2 (5.08 KB, patch)
2019-09-11 20:25 UTC, Piotr Kubaj
pkubaj: maintainer-approval? (brooks)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj freebsd_committer 2019-09-11 20:19:50 UTC
Created attachment 207398 [details]
patch

powerpc64 needs the patch from https://reviews.llvm.org/D67190 for openmp.
Comment 1 Piotr Kubaj freebsd_committer 2019-09-11 20:25:08 UTC
Created attachment 207399 [details]
v2

Remove COMPILER_RT from defaults.
Comment 2 commit-hook freebsd_committer 2019-09-12 12:49:59 UTC
A commit references this bug:

Author: brooks
Date: Thu Sep 12 12:49:47 UTC 2019
New revision: 511878
URL: https://svnweb.freebsd.org/changeset/ports/511878

Log:
  llvm90:
  Enable OpenMP on power64. [0]

  Add an option to link ld.lld to ld and enable by default on power64. [1]

  xtoolchain-llvm-devel:
  Add the ability to disable linking ld.lld to ld in slave ports.

  xtoolchain-llvm90:
  Disable linking ld.lld to ld since llvm90 can now do it.

  PR:		240516 [0]
  Submitted by:	pkubaj [0]
  Requested by:	kib [1]

Changes:
  head/devel/llvm90/Makefile
  head/devel/llvm90/files/openmp/
  head/devel/llvm90/files/openmp/patch-projects_openmp_runtime_src_kmp__platform.h
  head/devel/llvm90/files/openmp/patch-projects_openmp_runtime_src_z__Linux__asm.S
  head/devel/llvm90/pkg-plist
  head/devel/xtoolchain-llvm-devel/Makefile
  head/devel/xtoolchain-llvm90/Makefile