6 Commits cbb8a87e7e ... ef6edb058f

Author SHA1 Message Date
  Jeremy Rand ef6edb058f tor: Use basebrowser gcc target 2 years ago
  Jeremy Rand 1055a2e310 rust: Use basebrowser gcc target 2 years ago
  Jeremy Rand 88d66954b0 cmake: Use basebrowser gcc target 2 years ago
  Jeremy Rand 1b5112cf2a clang: Use basebrowser gcc target 2 years ago
  Jeremy Rand 7801dc0685 (WIP) clang: Add gcc-host dependency 2 years ago
  Jeremy Rand 2d22e217e1 gcc: Fix var/linux-cross typo 2 years ago
6 changed files with 17 additions and 5 deletions
  1. 7 1
      projects/clang/build
  2. 6 0
      projects/clang/config
  3. 1 1
      projects/cmake/build
  4. 1 1
      projects/gcc/config
  5. 1 1
      projects/rust/build
  6. 1 1
      projects/tor/build

+ 7 - 1
projects/clang/build

@@ -4,9 +4,15 @@ distdir=/var/tmp/dist/[% project %]
 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"
-[% IF c("var/linux") %]
+  [% IF c("var/linux") %]
   [% pc('gcc', 'var/setup', { compiler_tarfile => c('input_files_by_name/gcc'),
                               hardened_gcc => 0 }) %]
+  [% IF c("var/linux-cross") -%]
+    [% pc('gcc', 'var/setup', {
+      compiler_tarfile => c('input_files_by_name/' _ 'gcc-host'),
+      target => [ c('var/channel'), 'basebrowser-linux-x86_64' ]
+      }) %]
+    [% END -%]
   [% pc('python', 'var/setup', { python_tarfile => c('input_files_by_name/python') }) %]
 [% END -%]
 [% IF c("var/android") %]

+ 6 - 0
projects/clang/config

@@ -12,6 +12,12 @@ input_files:
   - name: '[% c("var/compiler") %]'
     project: '[% c("var/compiler") %]'
     enable: '[% c("var/linux") || c("var/android") %]'
+  - name: gcc-host
+    project: gcc
+    enable: '[% c("var/linux-cross") %]'
+    target:
+      - '[% c("var/channel") %]'
+      - 'basebrowser-linux-x86_64'
   - name: binutils
     project: binutils
     enable: '[% c("var/linux") || c("var/android") %]'

+ 1 - 1
projects/cmake/build

@@ -4,7 +4,7 @@ distdir=/var/tmp/dist/[% project %]
 [% IF c("var/linux") %]
   [% pc('gcc', 'var/setup', {
     compiler_tarfile => c('input_files_by_name/gcc'),
-    target => [ c('var/channel'), 'torbrowser-linux-x86_64' ],
+    target => [ c('var/channel'), 'basebrowser-linux-x86_64' ],
     hardened_gcc => 0
   }) %]
 [% END -%]

+ 1 - 1
projects/gcc/config

@@ -1,5 +1,5 @@
 # vim: filetype=yaml sw=2
-filename: '[% project %]-[% c("version") %]-[% IF c("linux-cross") %][% c("var/osname") %][% ELSE %]x86[% END %]-[% c("var/build_id") %].tar.gz'
+filename: '[% project %]-[% c("version") %]-[% IF c("var/linux-cross") %][% c("var/osname") %][% ELSE %]x86[% END %]-[% c("var/build_id") %].tar.gz'
 # Note: When updating the gcc version, if this includes a libstdc++
 # ABI change we should also update projects/firefox/abicheck.cc to
 # require the new version.

+ 1 - 1
projects/rust/build

@@ -14,7 +14,7 @@ export PATH="$distdir-rust-prebuilt/bin:$PATH"
 [% IF c("var/linux-cross") -%]
   [% pc('gcc', 'var/setup', {
     compiler_tarfile => c('input_files_by_name/' _ 'gcc-host'),
-    target => [ c('var/channel'), 'torbrowser-linux-x86_64' ]
+    target => [ c('var/channel'), 'basebrowser-linux-x86_64' ]
   }) %]
 [% END -%]
 [% pc(c('var/compiler'), 'var/setup', { compiler_tarfile => c('input_files_by_name/' _ c('var/compiler')) }) %]

+ 1 - 1
projects/tor/build

@@ -6,7 +6,7 @@
   [% pc('gcc', 'var/setup', {
     compiler_tarfile => c('input_files_by_name/' _ 'gcc-host'),
     hardened_gcc => 0,
-    target => [ c('var/channel'), 'torbrowser-linux-x86_64' ]
+    target => [ c('var/channel'), 'basebrowser-linux-x86_64' ]
   }) %]
 
   # GCC's cc1 expects Jessie libmpfr; we feed it a symlink to Buster's instead