Commit 93aa4dc4 authored by Chris Thurber's avatar Chris Thurber Committed by GitHub

Merge pull request #2630 from uberhacker/update-gcc7-package

Update gcc7 from 7.3.0-2 to 7.3.0-3
parents ddb1977a a76df90e
......@@ -3,28 +3,28 @@ require 'package'
class Gcc7 < Package
description 'The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Ada, and Go.'
homepage 'https://www.gnu.org/software/gcc/'
version '7.3.0-2'
version '7.3.0-3'
source_url 'https://github.com/gcc-mirror/gcc/archive/gcc-7_3_0-release.tar.gz'
source_sha256 'af11c397296cab69996723b9d828c98a9bb749447ac8f7ed67458bcdb60311ed'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gcc7-7.3.0-2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gcc7-7.3.0-2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/gcc7-7.3.0-2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gcc7-7.3.0-2-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gcc7-7.3.0-3-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gcc7-7.3.0-3-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/gcc7-7.3.0-3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gcc7-7.3.0-3-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'aaa760b75d8aa75fcc615375b79265c8cc9f37e23944fe108e542a3b4bf788c6',
armv7l: 'aaa760b75d8aa75fcc615375b79265c8cc9f37e23944fe108e542a3b4bf788c6',
aarch64: 'c9dd2a2b2d195f0f2021dc673d6317e46b5dfaef582f496b4cea1f3c5c2c17ad',
armv7l: 'c9dd2a2b2d195f0f2021dc673d6317e46b5dfaef582f496b4cea1f3c5c2c17ad',
i686: 'caf14b8399a42710f31526daf418d0ec1128e8e91b93865bd549cb0333cb678e',
x86_64: 'c2d6296473a4c2a97804d10a517ebce66fc4e1e5256210d28d15116f943d1611',
x86_64: '992fa6556e3c4b45ae548b0ce64e1c5cafaffd109fe9aba5d857c6c569e5b33e',
})
depends_on 'unzip' => :build
depends_on 'gawk' => :build
depends_on 'dejagnu' => :build # for test
#depends_on 'gcc' => :build # gcc version 4.9.4
depends_on 'icu4c' => :build # icu version 60.1
depends_on 'icu4c' => :build # icu version 62.1
depends_on 'python27' => :build
depends_on 'python3' => :build
......@@ -44,7 +44,7 @@ class Gcc7 < Package
system "mkdir -p objdir"
Dir.chdir("objdir") do
case ARCH
when 'armv7l' || 'aarch64'
when 'armv7l', 'aarch64'
system "../configure",
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
......@@ -113,7 +113,6 @@ class Gcc7 < Package
end
end
# preserve for check, skip check for current version
def self.check
Dir.chdir("objdir") do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment