comet-build 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/comet/rules/link.rb +1 -1
- data/lib/comet/version.rb +1 -1
- data/spec/comet/complex_c_program/Makefile +2 -2
- data/spec/comet/simple_c_program/Makefile +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: c4f3908e7c959e1cdec30c3c6bcbdba7a1ed0fba
|
4
|
+
data.tar.gz: 0f9b019db674c87c8ccc583310899d0acfc7f5f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0320fec38fe8576fc16507c2b340586646f03d362b28c6f226a4172893cc5314697225e4d448a01387441a5f51bcd00ef5845ad87228dc5be0dc854d906df6d9
|
7
|
+
data.tar.gz: 697683512fe9754bbcedb348aa6f8d6188f1e1d9c3d8109a6897ec010f909fb94a3d6bb12cc30725a6d323dba35c1805fd9f46cbcbb4ff7dd0183ec5b6ff720a
|
data/README.md
CHANGED
@@ -305,7 +305,7 @@ end
|
|
305
305
|
|
306
306
|
### Overriding external programs
|
307
307
|
|
308
|
-
Any external tool called by a Comet-generated Makefile can be overridden through environment variables of the form `COMET_TOOLNAME`. For instance, `cp` is invoked through `COMET_CP`, `clang` is invoked through `
|
308
|
+
Any external tool called by a Comet-generated Makefile can be overridden through environment variables of the form `COMET_TOOLNAME`. For instance, `cp` is invoked through `COMET_CP`, `clang` is invoked as a compiler through `COMET_CC`, and as a linker through `COMET_LD`, and so on. You can see the list of tools by inspecting the generated Makefile with `comet -s`, they will be at the top.
|
309
309
|
|
310
310
|
### Some helper Ruby methods
|
311
311
|
|
data/lib/comet/rules/link.rb
CHANGED
@@ -27,7 +27,7 @@ module Comet
|
|
27
27
|
|
28
28
|
def contents
|
29
29
|
[
|
30
|
-
"#{target}: #{@dependency.target} #{@native_sources.join ' '} | #{Comet::TMPDIR}",
|
30
|
+
"#{target}: #{@dependency.target} #{@native_sources.join ' '} #{@linker.script_ || ''} | #{Comet::TMPDIR}",
|
31
31
|
"\t#{clang_link} #{formatted_script} #{formatted_flags.join ' '} -Wl,-Map=#{map_file} -o $@ $^ #{formatted_libraries}"
|
32
32
|
]
|
33
33
|
end
|
data/lib/comet/version.rb
CHANGED
@@ -22,7 +22,7 @@ test/linux_x86: .comet/8030c3912f57888f83ad.phony
|
|
22
22
|
$(COMET_CP) .comet/e542f5d8ea9b413c1db8.elf bin/test_linux_x86.elf
|
23
23
|
$(COMET_CP) .comet/e7b25529bcd9f873ade7.bin bin/test_linux_x64.bin
|
24
24
|
$(COMET_CP) .comet/e542f5d8ea9b413c1db8.map bin/test_linux_x86.map
|
25
|
-
.comet/e542f5d8ea9b413c1db8.elf: .comet/ae8d70c4ad166e5f05e6.s
|
25
|
+
.comet/e542f5d8ea9b413c1db8.elf: .comet/ae8d70c4ad166e5f05e6.s | .comet
|
26
26
|
$(COMET_LD) --target=x86-unknown-linux-gnu -march=skylake -mcpu=skylake -Wl,-Map=.comet/e542f5d8ea9b413c1db8.map -o $@ $^
|
27
27
|
.comet/ae8d70c4ad166e5f05e6.s: .comet/1a6fa701e7f59b5130cf.ll | .comet
|
28
28
|
$(COMET_OPT) -S -Ofast --target=x86-unknown-linux-gnu -march=skylake -mcpu=skylake -o $@ $<
|
@@ -40,7 +40,7 @@ test/linux_x86: .comet/8030c3912f57888f83ad.phony
|
|
40
40
|
.comet/70ed28144e43c7deae81.phony: .comet/9dc94950d9e3e85125d8.elf
|
41
41
|
$(COMET_CP) .comet/9dc94950d9e3e85125d8.elf bin/test_linux_x64.elf
|
42
42
|
$(COMET_CP) .comet/9dc94950d9e3e85125d8.map bin/test_linux_x64.map
|
43
|
-
.comet/9dc94950d9e3e85125d8.elf: .comet/c8008c83512b753cc0f5.s
|
43
|
+
.comet/9dc94950d9e3e85125d8.elf: .comet/c8008c83512b753cc0f5.s | .comet
|
44
44
|
$(COMET_LD) --target=x86_64-unknown-linux-gnu -march=skylake -mcpu=skylake -Wl,-Map=.comet/9dc94950d9e3e85125d8.map -o $@ $^
|
45
45
|
.comet/c8008c83512b753cc0f5.s: .comet/5b532eac405115700e15.ll | .comet
|
46
46
|
$(COMET_OPT) -S -O3 --target=x86_64-unknown-linux-gnu -march=skylake -mcpu=skylake -o $@ $<
|
@@ -17,7 +17,7 @@ main/linux_x64: .comet/116dd1901deffe3fa447.phony
|
|
17
17
|
.PHONY: .comet/116dd1901deffe3fa447.phony
|
18
18
|
.comet/116dd1901deffe3fa447.phony: .comet/457234dc02f9dfb5542f.elf
|
19
19
|
$(COMET_CP) .comet/457234dc02f9dfb5542f.elf main
|
20
|
-
.comet/457234dc02f9dfb5542f.elf: .comet/ccb40296b80a66398214.s
|
20
|
+
.comet/457234dc02f9dfb5542f.elf: .comet/ccb40296b80a66398214.s | .comet
|
21
21
|
$(COMET_LD) --target=x86_64-unknown-linux-gnu -march=skylake -mcpu=skylake -Wl,-Map=.comet/457234dc02f9dfb5542f.map -o $@ $^
|
22
22
|
.comet/ccb40296b80a66398214.s: .comet/93cf4b5489860f6a6154.ll | .comet
|
23
23
|
$(COMET_OPT) -S -O1 --target=x86_64-unknown-linux-gnu -march=skylake -mcpu=skylake -o $@ $<
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: comet-build
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas Beneteau
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-08-
|
11
|
+
date: 2017-08-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|