cxxproject_gcctoolchain 0.1.10 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/cxxproject_gcctoolchain/plugin.rb +12 -8
- data/lib/cxxproject_gcctoolchain/version.rb +1 -1
- metadata +10 -19
- data/.gitignore +0 -2
- data/Rakefile.rb +0 -3
- data/cxxproject_gcctoolchain.gemspec +0 -20
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: f348f0e427071027df20ed800428b4ce31a0abe8
|
4
|
+
data.tar.gz: b0315116d688e7848451f7756bdb9fda1886b695
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: b00ada891adf94c97ab5937b88585d1a692cff57c466bcc9af24b2d57aa8989f247a1f3ddbe357c37608a4f038a0ad2cfedfa788f00ab8ed260e1bd0e9cff98d
|
7
|
+
data.tar.gz: a1f04ae349e92ac9dd308385d91970d238a8f66b340f111606a3b70d0a6d36c1b45a360d594edddb595585990c1266262945fdb7a03bfcb8a070097ca348dac1
|
@@ -1,15 +1,15 @@
|
|
1
|
-
cxx_plugin do
|
2
|
-
|
1
|
+
cxx_plugin do
|
3
2
|
require 'errorparser/gcc_compiler_error_parser'
|
4
3
|
require 'errorparser/gcc_linker_error_parser'
|
4
|
+
require 'cxxproject/buildingblocks/shared_libs_helper'
|
5
5
|
gccCompilerErrorParser = Cxxproject::GCCCompilerErrorParser.new
|
6
|
-
|
6
|
+
prefix = ENV['USE_CCACHE'] ? 'ccache' : nil
|
7
7
|
toolchain "gcc",
|
8
8
|
:COMPILER =>
|
9
9
|
{
|
10
10
|
:CPP =>
|
11
11
|
{
|
12
|
-
:COMMAND => "g++",
|
12
|
+
:COMMAND => ([] << prefix << "g++").compact,
|
13
13
|
:DEFINE_FLAG => "-D",
|
14
14
|
:OBJECT_FILE_FLAG => "-o",
|
15
15
|
:INCLUDE_PATH_FLAG => "-I",
|
@@ -23,7 +23,7 @@ cxx_plugin do |cxx,bbs,log|
|
|
23
23
|
{
|
24
24
|
:BASED_ON => :CPP,
|
25
25
|
:SOURCE_FILE_ENDINGS => [".c"],
|
26
|
-
:COMMAND => "gcc"
|
26
|
+
:COMMAND => ([] << prefix << "gcc").compact
|
27
27
|
},
|
28
28
|
:ASM =>
|
29
29
|
{
|
@@ -36,12 +36,16 @@ cxx_plugin do |cxx,bbs,log|
|
|
36
36
|
:COMMAND => "g++",
|
37
37
|
:SCRIPT => "-T",
|
38
38
|
:USER_LIB_FLAG => "-l:",
|
39
|
-
:
|
39
|
+
:OUTPUT_FLAG => "-o",
|
40
|
+
:SHARED_FLAG => "-shared",
|
41
|
+
:SONAME_FLAG => "-Wl,-soname,",
|
40
42
|
:LIB_FLAG => "-l",
|
41
43
|
:LIB_PATH_FLAG => "-L",
|
42
44
|
:ERROR_PARSER => Cxxproject::GCCLinkerErrorParser.new,
|
43
|
-
:START_OF_WHOLE_ARCHIVE => '-Wl,--whole-archive',
|
44
|
-
:END_OF_WHOLE_ARCHIVE => '-Wl,--no-whole-archive'
|
45
|
+
:START_OF_WHOLE_ARCHIVE => {:UNIX => '-Wl,--whole-archive', :OSX => '-force_load', :WINDOWS => '-Wl,--whole-archive'},
|
46
|
+
:END_OF_WHOLE_ARCHIVE => {:UNIX => '-Wl,--no-whole-archive', :OSX => '', :WINDOWS => '-Wl,--no-whole-archive'},
|
47
|
+
:ADDITIONAL_COMMANDS => {:OSX => Cxxproject::OsxSharedLibs.new, :UNIX => Cxxproject::UnixSharedLibs.new},
|
48
|
+
:ADDITIONAL_OBJECT_FILE_FLAGS => {:OSX => [], :UNIX => ['-fPIC']}
|
45
49
|
},
|
46
50
|
:ARCHIVER =>
|
47
51
|
{
|
metadata
CHANGED
@@ -1,70 +1,61 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cxxproject_gcctoolchain
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
5
|
-
prerelease:
|
4
|
+
version: 0.1.11
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- oliver mueller
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2016-08-23 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: cxxproject
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - ">="
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '0'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - ">="
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '0'
|
30
|
-
description:
|
31
|
-
|
32
|
-
'
|
27
|
+
description: " Toolchain supporting GCC\n"
|
33
28
|
email: oliver.mueller@gmail.com
|
34
29
|
executables: []
|
35
30
|
extensions: []
|
36
31
|
extra_rdoc_files: []
|
37
32
|
files:
|
38
|
-
- .gitignore
|
39
33
|
- README.md
|
40
|
-
- Rakefile.rb
|
41
|
-
- cxxproject_gcctoolchain.gemspec
|
42
34
|
- lib/cxxproject_gcctoolchain/plugin.rb
|
43
35
|
- lib/cxxproject_gcctoolchain/version.rb
|
44
36
|
- lib/errorparser/gcc_compiler_error_parser.rb
|
45
37
|
- lib/errorparser/gcc_linker_error_parser.rb
|
46
38
|
homepage: https://github.com/marcmo/cxxproject
|
47
39
|
licenses: []
|
40
|
+
metadata: {}
|
48
41
|
post_install_message:
|
49
42
|
rdoc_options: []
|
50
43
|
require_paths:
|
51
44
|
- lib
|
52
45
|
required_ruby_version: !ruby/object:Gem::Requirement
|
53
|
-
none: false
|
54
46
|
requirements:
|
55
|
-
- -
|
47
|
+
- - ">="
|
56
48
|
- !ruby/object:Gem::Version
|
57
49
|
version: '0'
|
58
50
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
59
|
-
none: false
|
60
51
|
requirements:
|
61
|
-
- -
|
52
|
+
- - ">="
|
62
53
|
- !ruby/object:Gem::Version
|
63
54
|
version: '0'
|
64
55
|
requirements: []
|
65
56
|
rubyforge_project:
|
66
|
-
rubygems_version:
|
57
|
+
rubygems_version: 2.5.1
|
67
58
|
signing_key:
|
68
|
-
specification_version:
|
59
|
+
specification_version: 4
|
69
60
|
summary: toolchain support for gcc.
|
70
61
|
test_files: []
|
data/.gitignore
DELETED
data/Rakefile.rb
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
gem_name = 'cxxproject_gcctoolchain'
|
3
|
-
require File.expand_path("lib/#{gem_name}/version")
|
4
|
-
|
5
|
-
Gem::Specification.new do |s|
|
6
|
-
s.name = gem_name
|
7
|
-
s.version = CxxprojectGccToolchain::VERSION
|
8
|
-
|
9
|
-
s.summary = "toolchain support for gcc."
|
10
|
-
s.description = <<-EOF
|
11
|
-
Toolchain supporting GCC
|
12
|
-
EOF
|
13
|
-
s.files = `git ls-files`.split($\)
|
14
|
-
s.require_path = "lib"
|
15
|
-
s.author = "oliver mueller"
|
16
|
-
s.email = "oliver.mueller@gmail.com"
|
17
|
-
s.homepage = "https://github.com/marcmo/cxxproject"
|
18
|
-
|
19
|
-
s.add_dependency('cxxproject')
|
20
|
-
end
|