mgorny      15/02/08 16:29:54

  Added:                eapi make.defaults package.use.force
                        package.use.mask packages packages.build parent
                        profile.bashrc
  Log:
  Move clang fbsd profile data to arch/amd64-fbsd. Bug #491654 by Yuta SATOH.

Revision  Changes    Path
1.1                  profiles/arch/amd64-fbsd/clang/eapi

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/arch/amd64-fbsd/clang/eapi?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/arch/amd64-fbsd/clang/eapi?rev=1.1&content-type=text/plain

Index: eapi
===================================================================
5



1.1                  profiles/arch/amd64-fbsd/clang/make.defaults

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/arch/amd64-fbsd/clang/make.defaults?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/arch/amd64-fbsd/clang/make.defaults?rev=1.1&content-type=text/plain

Index: make.defaults
===================================================================
# Copyright 1999-2015 Gentoo Foundation.
# Distributed under the terms of the GNU General Public License, v2
# $Header: 
/var/cvsroot/gentoo-x86/profiles/arch/amd64-fbsd/clang/make.defaults,v 1.1 
2015/02/08 16:29:53 mgorny Exp $

CFLAGS="-O2 -pipe"
CXXFLAGS="-stdlib=libc++ ${CFLAGS}"
FFLAGS="${CFLAGS}"
FCFLAGS="${CFLAGS}"



1.1                  profiles/arch/amd64-fbsd/clang/package.use.force

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/arch/amd64-fbsd/clang/package.use.force?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/arch/amd64-fbsd/clang/package.use.force?rev=1.1&content-type=text/plain

Index: package.use.force
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/profiles/arch/amd64-fbsd/clang/package.use.force,v 1.1 
2015/02/08 16:29:53 mgorny Exp $

# Force building libc++ over libcxxrt.
sys-libs/libcxx libcxxrt

# Force static libs and multilib on the C++ stack.
sys-libs/libcxxrt static-libs abi_x86_32
sys-libs/libcxx static-libs abi_x86_32

# Force openssl on curl since cmakes needs it and is in @system because of
# libcxx on this profile. Mask the other ssl providers.
net-misc/curl ssl curl_ssl_openssl

# We obviously need clang
sys-devel/llvm clang



1.1                  profiles/arch/amd64-fbsd/clang/package.use.mask

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/arch/amd64-fbsd/clang/package.use.mask?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/arch/amd64-fbsd/clang/package.use.mask?rev=1.1&content-type=text/plain

Index: package.use.mask
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/profiles/arch/amd64-fbsd/clang/package.use.mask,v 1.1 
2015/02/08 16:29:53 mgorny Exp $

# Build libcxxrt over libgcc_s since that is what clang defaults to.
sys-libs/libcxxrt libunwind

# Needs to be fixed: cxx useflag enables plugins and gold. 
# gold fails to build with clang:
# https://bugs.gentoo.org/show_bug.cgi?id=427344
# http://llvm.org/bugs/show_bug.cgi?id=12299
sys-devel/binutils cxx

# Force openssl on curl since cmakes needs it and is in @system because of
# libcxx on this profile. Mask the other ssl providers.
net-misc/curl curl_ssl_axtls curl_ssl_gnutls curl_ssl_nss curl_ssl_polarssl



1.1                  profiles/arch/amd64-fbsd/clang/packages

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/arch/amd64-fbsd/clang/packages?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/arch/amd64-fbsd/clang/packages?rev=1.1&content-type=text/plain

Index: packages
===================================================================
# Copyright 1999-2015 Gentoo Foundation.
# Distributed under the terms of the GNU General Public License, v2
# $Header: /var/cvsroot/gentoo-x86/profiles/arch/amd64-fbsd/clang/packages,v 
1.1 2015/02/08 16:29:53 mgorny Exp $

# Don't remove gcc from here: clang uses it for crt{begin,end}*.o and its c++
# stack.

*sys-devel/llvm
*sys-devel/clang
*sys-libs/libcxx



1.1                  profiles/arch/amd64-fbsd/clang/packages.build

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/arch/amd64-fbsd/clang/packages.build?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/arch/amd64-fbsd/clang/packages.build?rev=1.1&content-type=text/plain

Index: packages.build
===================================================================
# Copyright 1999-2015 Gentoo Foundation.
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/profiles/arch/amd64-fbsd/clang/packages.build,v 1.1 
2015/02/08 16:29:53 mgorny Exp $

# This file describes the packages needed to build a stage 1 based on this
# profile.  Packages in this file are built in order.

# Please do not move perl before baselayout doing so will break lib -> lib64
# symlinks on systems that use them.

app-arch/bzip2
app-arch/gzip
dev-libs/openssl
app-arch/libarchive
app-shells/bash
net-misc/rsync
net-misc/wget
sys-devel/autoconf
sys-devel/automake
sys-devel/libtool
sys-apps/openrc
sys-apps/baselayout
sys-apps/diffutils
sys-apps/file
sys-apps/findutils
sys-apps/gawk
sys-apps/grep
sys-apps/less
sys-apps/portage
sys-apps/sed
sys-devel/binutils
sys-devel/bison
sys-devel/flex
sys-devel/gcc
dev-libs/libiconv
sys-devel/gettext
sys-devel/gnuconfig
sys-devel/make
sys-devel/patch
virtual/editor
virtual/libc
virtual/os-headers
sys-freebsd/freebsd-mk-defs
sys-freebsd/freebsd-lib
sys-freebsd/freebsd-libexec
sys-freebsd/freebsd-bin
sys-freebsd/freebsd-sbin
sys-freebsd/freebsd-ubin
sys-freebsd/freebsd-usbin
sys-freebsd/freebsd-contrib
sys-devel/llvm
sys-devel/clang
sys-libs/libcxx



1.1                  profiles/arch/amd64-fbsd/clang/parent

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/arch/amd64-fbsd/clang/parent?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/arch/amd64-fbsd/clang/parent?rev=1.1&content-type=text/plain

Index: parent
===================================================================
..



1.1                  profiles/arch/amd64-fbsd/clang/profile.bashrc

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/arch/amd64-fbsd/clang/profile.bashrc?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/arch/amd64-fbsd/clang/profile.bashrc?rev=1.1&content-type=text/plain

Index: profile.bashrc
===================================================================
#!/bin/bash
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: 
/var/cvsroot/gentoo-x86/profiles/arch/amd64-fbsd/clang/profile.bashrc,v 1.1 
2015/02/08 16:29:53 mgorny Exp $

# Check if clang/clang++ exist before setting them so that we can more easily
# switch to this profile and build stages.
type -P clang > /dev/null && export CC=clang
type -P clang++ > /dev/null && [ -f /usr/lib/libc++.so ] && export CXX="clang++ 
-stdlib=libc++"




Reply via email to