daedalus-core 1.1 → 1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/daedalus.rb +4 -3
- data/lib/daedalus/version.rb +1 -1
- 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: 723ea611d728e9e1c484439deb513d45d94d6508
|
|
4
|
+
data.tar.gz: 80366781eaff9988acabebe7717196f853ae6050
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: baa231b57ac38e3ca7a9285032c6d66c48c3fa13c6e445e710dd356895136f61a9974e12f77098bd678a7af64cc7bec2e380c7ecc18d561b0457796c23e43011
|
|
7
|
+
data.tar.gz: 0418f5c6a40c30374f3bebb8dd209ee9129f33b2be45434a9adc117a0b0cd27a587b116648f9ae2e7f2748e87f4afd567bbdd47604d490f71ada1994ef0ef044
|
data/lib/daedalus.rb
CHANGED
|
@@ -480,7 +480,7 @@ module Daedalus
|
|
|
480
480
|
flags = (ctx.cflags + ctx.cxxflags).join(" ").
|
|
481
481
|
gsub(/-g[^ ]*/, "").
|
|
482
482
|
gsub(/-O.?/, "")
|
|
483
|
-
flags << " -
|
|
483
|
+
flags << " -gline-tables-only -Oz"
|
|
484
484
|
|
|
485
485
|
ctx.log.command "#{ctx.cxx} -S -emit-llvm #{flags} -c -o #{object} #{source}"
|
|
486
486
|
|
|
@@ -513,7 +513,7 @@ module Daedalus
|
|
|
513
513
|
gsub(/-I\s?[^ ]*/, "").
|
|
514
514
|
gsub(/-g[^ ]*/, "").
|
|
515
515
|
gsub(/-O.?/, "")
|
|
516
|
-
flags << " -
|
|
516
|
+
flags << " -gline-tables-only -Oz"
|
|
517
517
|
|
|
518
518
|
ctx.log.command "#{ctx.cxx} #{flags} -c -o #{object} #{source}"
|
|
519
519
|
end
|
|
@@ -523,7 +523,8 @@ module Daedalus
|
|
|
523
523
|
|
|
524
524
|
@data[:sha1] = sha1(ctx)
|
|
525
525
|
|
|
526
|
-
|
|
526
|
+
fname = File.basename path, "cpp"
|
|
527
|
+
ll_path = "#{File.dirname(path)}/artifacts/#{fname}ll"
|
|
527
528
|
|
|
528
529
|
ll_compile ctx, path, ll_path
|
|
529
530
|
cxx_compile ctx, ll_path, object_path
|
data/lib/daedalus/version.rb
CHANGED