bake-toolkit 2.24.5 → 2.24.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bake/toolchain/gcc.rb +8 -2
- data/lib/common/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6f2d7170b26cbdbc70b0088ff731af07ef3f623a
|
4
|
+
data.tar.gz: 30132e42d5dafcbc3dc047eb17021c9184bb9379
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ecb9653e3655a6cbc0c454a0263925ea45f1686e81409fc45434445f632c55f5b044fb459463725413355c1dd8d5ca125ac72b01988d49eb125ffa52b1a7b5e
|
7
|
+
data.tar.gz: bdf1bcc8e32078aef69722152c11c37deb459191fa8bee2d9f76551737c65071ba39eeac737f9b9f71f11fbf889e3858ef3068fcbd71856b94d29fbe29b4be68
|
data/lib/bake/toolchain/gcc.rb
CHANGED
@@ -7,10 +7,16 @@ require 'bake/toolchain/errorparser/gcc_linker_error_parser'
|
|
7
7
|
module Bake
|
8
8
|
module Toolchain
|
9
9
|
|
10
|
+
def self.getGccRawVersionInfo
|
11
|
+
`g++ --version`
|
12
|
+
end
|
13
|
+
|
10
14
|
def self.getGccVersion
|
11
|
-
gccVersionStr =
|
15
|
+
gccVersionStr = getGccRawVersionInfo()
|
12
16
|
splitted = gccVersionStr.split("\n")[0].split(" ")
|
13
|
-
|
17
|
+
vSubstr = splitted[splitted.length-1]
|
18
|
+
vSubstr = splitted[splitted.length-2] if ((!vSubstr.include?".") && (splitted.length >= 2))
|
19
|
+
return vSubstr.split(".").map { |v| v.to_i }
|
14
20
|
end
|
15
21
|
|
16
22
|
def self.getGccPlatform
|
data/lib/common/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bake-toolkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.24.
|
4
|
+
version: 2.24.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Schaal
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-12-
|
11
|
+
date: 2016-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rtext
|