public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] LLVM-3.9 news item for review
@ 2016-10-01  8:10 Michał Górny
  2016-10-01 13:20 ` [gentoo-dev] " Luca Barbato
  0 siblings, 1 reply; 2+ messages in thread
From: Michał Górny @ 2016-10-01  8:10 UTC (permalink / raw
  To: gentoo-dev; +Cc: llvm

[-- Attachment #1: Type: text/plain, Size: 1907 bytes --]

Please review the inlined news item. I'd like to publish it when
LLVM-3.9 is unmasked.

--

Title: LLVM 3.9 with LLVM_TARGETS
Author: Michał Górny <mgorny@gentoo.org>
Content-Type: text/plain
Posted: 2016-..-..
Revision: 1
News-Item-Format: 1.0
Display-If-Installed: <sys-devel/llvm-3.9

The newest release of LLVM 3.9 has undergone major Gentoo changes,
and may require explicit action prior to the upgrade. In this release,
the semi-implicit target choice has been replaced with an explicit
LLVM_TARGETS flag set.

If you did not enable USE=multitarget, no action should be required.
The targets for your host CPU, Berkeley Packet Filter (used by some
packages) and possibly two major GPUs (AMDGPU and NVPTX) will be enabled
by default which is a superset of the previous default. However, you may
want to disable some of those targets if you do not intend to install
packages requiring them (dev-util/bcc, dev-libs/libclc).

If you enabled USE=multitarget, you will now need to specify all
the requested targets explicitly. The old flag will be preserved
for some time for compatibility reasons; however, it will only enforce
explicitly selecting all targets.

In order to enable all targets, add the following to your
/etc/portage/package.use or equivalent file:

  sys-devel/llvm LLVM_TARGETS: *
  sys-devel/clang LLVM_TARGETS: *

If you had to use USE=multitarget to enable some of the targets you
needed, you can now disable the flag and specify those targets
explicitly.

Please also note that starting with LLVM-4.0, sys-devel/clang will be
built as a separate package and the enabled LLVM_TARGETS for that
package will actually enforce requested targets.

Setting LLVM_TARGETS globally is discouraged as it can cause bootstrap
issues with sys-libs/compiler-rt in the future.


-- 
Best regards,
Michał Górny
<http://dev.gentoo.org/~mgorny/>

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 931 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-dev] Re: LLVM-3.9 news item for review
  2016-10-01  8:10 [gentoo-dev] LLVM-3.9 news item for review Michał Górny
@ 2016-10-01 13:20 ` Luca Barbato
  0 siblings, 0 replies; 2+ messages in thread
From: Luca Barbato @ 2016-10-01 13:20 UTC (permalink / raw
  To: Michał Górny, gentoo-dev; +Cc: llvm

On 01/10/16 10:10, Michał Górny wrote:
> explicitly selecting all targets.

The item seems fine.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-10-01 13:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-01  8:10 [gentoo-dev] LLVM-3.9 news item for review Michał Górny
2016-10-01 13:20 ` [gentoo-dev] " Luca Barbato

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox