comet-build 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/comet/rules/compile.rb +1 -1
- data/lib/comet/version.rb +1 -1
- data/spec/comet/complex_c_program/Makefile +33 -33
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ec5d0ab4bdc83eb5c218bbb21ea890494cdcdca8
|
4
|
+
data.tar.gz: fd10bb475ae1510831f08c66fa0b2e405a43e3c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5240a1374a9dfc4abe586c5acb53588b5cc24eb84c7f51c3a932bf311ece1417aaaab3a7b5d2ffb1691176ad00c528db11ce700b0e35ca026985df10db8d0fc3
|
7
|
+
data.tar.gz: f91f119bf3f5440bf9843d40a314ddf79104a5b776e621399dd96e21381faa1746e10cccb2704f5cc18a4d6c0e3faa89f181aaa722f33ab8c688db27e604a3e3
|
data/lib/comet/rules/compile.rb
CHANGED
data/lib/comet/version.rb
CHANGED
@@ -9,49 +9,49 @@ COMET_RM ?= rm
|
|
9
9
|
.PHONY: all
|
10
10
|
all: test
|
11
11
|
.PHONY: test
|
12
|
-
test: .comet/
|
12
|
+
test: .comet/41f8b3e8804fea68ec6b.phony .comet/b5c19fd070359b597edd.phony
|
13
13
|
.PHONY: test/linux_x64
|
14
|
-
test/linux_x64: .comet/
|
14
|
+
test/linux_x64: .comet/b5c19fd070359b597edd.phony
|
15
15
|
.PHONY: test/linux_x86
|
16
|
-
test/linux_x86: .comet/
|
16
|
+
test/linux_x86: .comet/41f8b3e8804fea68ec6b.phony
|
17
17
|
.PHONY: .comet
|
18
18
|
.comet:
|
19
19
|
if [ ! -d "$@" ] || [ ! -d "`readlink .comet`" ]; then $(COMET_LN) -sf `mktemp -d` $@; fi
|
20
|
-
.PHONY: .comet/
|
21
|
-
.comet/
|
22
|
-
$(COMET_CP) .comet/
|
23
|
-
$(COMET_CP) .comet/
|
24
|
-
$(COMET_CP) .comet/
|
25
|
-
.comet/
|
26
|
-
$(COMET_LD) --target=x86-unknown-linux-gnu -march=skylake -mcpu=skylake -Wl,-Map=.comet/
|
27
|
-
.comet/
|
20
|
+
.PHONY: .comet/41f8b3e8804fea68ec6b.phony
|
21
|
+
.comet/41f8b3e8804fea68ec6b.phony: .comet/58e4769019097316a2f4.elf .comet/3bc14a6c241d158c30cd.bin
|
22
|
+
$(COMET_CP) .comet/58e4769019097316a2f4.elf bin/test_linux_x86.elf
|
23
|
+
$(COMET_CP) .comet/3bc14a6c241d158c30cd.bin bin/test_linux_x64.bin
|
24
|
+
$(COMET_CP) .comet/58e4769019097316a2f4.map bin/test_linux_x86.map
|
25
|
+
.comet/58e4769019097316a2f4.elf: .comet/55978226b396c7da38ec.s | .comet
|
26
|
+
$(COMET_LD) --target=x86-unknown-linux-gnu -march=skylake -mcpu=skylake -Wl,-Map=.comet/58e4769019097316a2f4.map -o $@ $^
|
27
|
+
.comet/55978226b396c7da38ec.s: .comet/45b8ac54c1523683a185.ll | .comet
|
28
28
|
$(COMET_OPT) -S -Ofast --target=x86-unknown-linux-gnu -march=skylake -mcpu=skylake -o $@ $<
|
29
|
-
.comet/
|
29
|
+
.comet/45b8ac54c1523683a185.ll: .comet/066c9d603b1250716309.ll .comet/1eddb1ee8e3f2bd08fa2.ll .comet/e49cdc7c30bb85a26a1e.ll | .comet
|
30
30
|
$(COMET_LINK) -S -o $@ $^
|
31
|
-
.comet/
|
32
|
-
$(COMET_CC) -x c --target=x86-unknown-linux-gnu -march=skylake -mcpu=skylake -S -flto -Isrc-Iinclude -DFOO=BAR -std=c89 -o $@ -c $<
|
33
|
-
.comet/
|
34
|
-
$(COMET_CC) -x c --target=x86-unknown-linux-gnu -march=skylake -mcpu=skylake -S -flto -Isrc-Iinclude -DFOO=BAZ -std=c89 -o $@ -c $<
|
35
|
-
.comet/
|
36
|
-
$(COMET_CC) -x c --target=x86-unknown-linux-gnu -march=skylake -mcpu=skylake -S -flto -Isrc-Iinclude -std=c89 -o $@ -c $<
|
37
|
-
.comet/
|
31
|
+
.comet/066c9d603b1250716309.ll: src/module_a/impl.c src/module_a/impl.h src/common.h include/public_api.h | .comet
|
32
|
+
$(COMET_CC) -x c --target=x86-unknown-linux-gnu -march=skylake -mcpu=skylake -S -flto -Isrc -Iinclude -DFOO=BAR -std=c89 -o $@ -c $<
|
33
|
+
.comet/1eddb1ee8e3f2bd08fa2.ll: src/module_b/impl.c src/module_b/impl.h src/common.h include/public_api.h | .comet
|
34
|
+
$(COMET_CC) -x c --target=x86-unknown-linux-gnu -march=skylake -mcpu=skylake -S -flto -Isrc -Iinclude -DFOO=BAZ -std=c89 -o $@ -c $<
|
35
|
+
.comet/e49cdc7c30bb85a26a1e.ll: src/main.c src/common.h src/library.h src/module_a/impl.h src/module_b/impl.h include/public_api.h | .comet
|
36
|
+
$(COMET_CC) -x c --target=x86-unknown-linux-gnu -march=skylake -mcpu=skylake -S -flto -Isrc -Iinclude -std=c89 -o $@ -c $<
|
37
|
+
.comet/3bc14a6c241d158c30cd.bin: .comet/58e4769019097316a2f4.elf | .comet
|
38
38
|
(command -v x86-unknown-linux-gnu-$(COMET_OBJCOPY) > /dev/null) && x86-unknown-linux-gnu-$(COMET_OBJCOPY) -O binary $< $@ || $(COMET_OBJCOPY) -O binary $< $@
|
39
|
-
.PHONY: .comet/
|
40
|
-
.comet/
|
41
|
-
$(COMET_CP) .comet/
|
42
|
-
$(COMET_CP) .comet/
|
43
|
-
.comet/
|
44
|
-
$(COMET_LD) --target=x86_64-unknown-linux-gnu -march=skylake -mcpu=skylake -Wl,-Map=.comet/
|
45
|
-
.comet/
|
39
|
+
.PHONY: .comet/b5c19fd070359b597edd.phony
|
40
|
+
.comet/b5c19fd070359b597edd.phony: .comet/239aef468b7c74e8eb07.elf
|
41
|
+
$(COMET_CP) .comet/239aef468b7c74e8eb07.elf bin/test_linux_x64.elf
|
42
|
+
$(COMET_CP) .comet/239aef468b7c74e8eb07.map bin/test_linux_x64.map
|
43
|
+
.comet/239aef468b7c74e8eb07.elf: .comet/9eb2d2641e6518828e34.s | .comet
|
44
|
+
$(COMET_LD) --target=x86_64-unknown-linux-gnu -march=skylake -mcpu=skylake -Wl,-Map=.comet/239aef468b7c74e8eb07.map -o $@ $^
|
45
|
+
.comet/9eb2d2641e6518828e34.s: .comet/c743dd82509170cb5828.ll | .comet
|
46
46
|
$(COMET_OPT) -S -O3 --target=x86_64-unknown-linux-gnu -march=skylake -mcpu=skylake -o $@ $<
|
47
|
-
.comet/
|
47
|
+
.comet/c743dd82509170cb5828.ll: .comet/9e5dea7cf944c74e7a6c.ll .comet/e054566ad272c0a69ba6.ll .comet/b299d49b84f938ace557.ll | .comet
|
48
48
|
$(COMET_LINK) -S -o $@ $^
|
49
|
-
.comet/
|
50
|
-
$(COMET_CC) -x c --target=x86_64-unknown-linux-gnu -march=skylake -mcpu=skylake -S -flto -Isrc-Iinclude -DFOO=BAR -std=c89 -o $@ -c $<
|
51
|
-
.comet/
|
52
|
-
$(COMET_CC) -x c --target=x86_64-unknown-linux-gnu -march=skylake -mcpu=skylake -S -flto -Isrc-Iinclude -DFOO=BAZ -std=c89 -o $@ -c $<
|
53
|
-
.comet/
|
54
|
-
$(COMET_CC) -x c --target=x86_64-unknown-linux-gnu -march=skylake -mcpu=skylake -S -flto -Isrc-Iinclude -std=c89 -o $@ -c $<
|
49
|
+
.comet/9e5dea7cf944c74e7a6c.ll: src/module_a/impl.c src/module_a/impl.h src/common.h include/public_api.h | .comet
|
50
|
+
$(COMET_CC) -x c --target=x86_64-unknown-linux-gnu -march=skylake -mcpu=skylake -S -flto -Isrc -Iinclude -DFOO=BAR -std=c89 -o $@ -c $<
|
51
|
+
.comet/e054566ad272c0a69ba6.ll: src/module_b/impl.c src/module_b/impl.h src/common.h include/public_api.h | .comet
|
52
|
+
$(COMET_CC) -x c --target=x86_64-unknown-linux-gnu -march=skylake -mcpu=skylake -S -flto -Isrc -Iinclude -DFOO=BAZ -std=c89 -o $@ -c $<
|
53
|
+
.comet/b299d49b84f938ace557.ll: src/main.c src/common.h src/library.h src/module_a/impl.h src/module_b/impl.h include/public_api.h | .comet
|
54
|
+
$(COMET_CC) -x c --target=x86_64-unknown-linux-gnu -march=skylake -mcpu=skylake -S -flto -Isrc -Iinclude -std=c89 -o $@ -c $<
|
55
55
|
.PHONY: clean
|
56
56
|
clean:
|
57
57
|
$(COMET_RM) -rf .comet
|