Unverified Commit 1dbc7555 authored by boklm's avatar boklm
Browse files

Bug 21328: Updating to clang 3.8.0

We use the new compiler Mozilla is using for Firefox 52 cross-builds as
well. clang now requires GCC 4.8.5 for compiling which is not available
in Debian Wheezy. We therefore build the macOS parts on Debian Jessie
now.
parent 916f9977
Loading
Loading
Loading
Loading

keyring/llvm.gpg

0 → 100644
+2.45 KiB

File added.

No diff preview for this file type.

projects/clang/build

deleted100644 → 0
+0 −8
Original line number Diff line number Diff line
#!/bin/bash
[% c("var/set_default_env") -%]
tar xf [% project %]-[% c("version") %].tar.gz
mv [% project %]-[% c("version") %] [% project %]
[% c('tar', {
        tar_src => [ project ],
        tar_args => '-czf ' _ dest_dir _ '/' _ c('filename'),
    }) %]

projects/clang/config

deleted100644 → 0
+0 −5
Original line number Diff line number Diff line
# vim: filetype=yaml sw=2
version: r247539
git_url: https://github.com/llvm-mirror/clang
git_hash: 592b43b609b42cffd1531a700c140e10766bf049
filename: '[% project %]-src-[% c("version") %]-[% c("var/build_id") %].tar.gz'
+12 −3
Original line number Diff line number Diff line
@@ -5,10 +5,19 @@ mkdir -p /var/tmp/dist
tar -C /var/tmp/dist -xf [% c('input_files_by_name/cmake') %]
export PATH="/var/tmp/dist/cmake/bin:$PATH"
mkdir -p /var/tmp/build
tar -C /var/tmp/build -xf [% project %]-[% c('version') %].tar.gz
cd /var/tmp/build/[% project %]-[% c("version") %]
cd /var/tmp/build
tar -xf $rootdir/[% c('input_files_by_name/llvm') %]
tar -xf $rootdir/[% c('input_files_by_name/cfe') %]
tar -xf $rootdir/[% c('input_files_by_name/libcxx') %]
tar -xf $rootdir/[% c('input_files_by_name/libcxxabi') %]
mv cfe-* clang
mv libcxx-* libcxx
mv libcxxabi-* libcxxabi
mv clang llvm-*/tools
mv libcxx llvm-*/projects
mv libcxxabi llvm-*/projects
cd llvm-*
export LLVM_HOME=$(pwd)
tar -C $LLVM_HOME/tools -xf $rootdir/[% c('input_files_by_name/clang') %]
mkdir build
cd build
cmake .. -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=$distdir -DCMAKE_BUILD_TYPE:STRING=Release $LLVM_HOME
+25 −5
Original line number Diff line number Diff line
# vim: filetype=yaml sw=2
version: 8f188e0ea735ac9383a65a0d1c846eb790c2ec74
git_url: https://github.com/llvm-mirror/llvm
git_hash: '[% c("version") %]'
version: 3.8.0
filename: '[% project %]-[% c("version") %]-[% c("var/build_id") %].tar.gz'
remote_docker: 1

@@ -9,5 +7,27 @@ input_files:
  - project: docker-image
  - project: cmake
    name: cmake
  - project: clang
    name: clang
  - URL: 'http://releases.llvm.org/[% c("version") %]/llvm-[% c("version") %].src.tar.xz'
    # no proper HTTPS
    name: llvm
    sig_ext: sig
    file_gpg_id: 1
    gpg_keyring: llvm.gpg
  - URL: 'http://releases.llvm.org/[% c("version") %]/cfe-[% c("version") %].src.tar.xz'
    # no proper HTTPS
    name: cfe
    sig_ext: sig
    file_gpg_id: 1
    gpg_keyring: llvm.gpg
  - URL: 'http://releases.llvm.org/[% c("version") %]/libcxx-[% c("version") %].src.tar.xz'
    # no proper HTTPS
    name: libcxx
    sig_ext: sig
    file_gpg_id: 1
    gpg_keyring: llvm.gpg
  - URL: 'http://releases.llvm.org/[% c("version") %]/libcxxabi-[% c("version") %].src.tar.xz'
    # no proper HTTPS
    name: libcxxabi
    sig_ext: sig
    file_gpg_id: 1
    gpg_keyring: llvm.gpg
Loading