daedalus-core 1.1 → 1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8dfabb584ca953d43b3e2fbaef94117cf8d6ad7c
4
- data.tar.gz: 16389e1ba87675ed97edd176e3124631d08291cf
3
+ metadata.gz: 723ea611d728e9e1c484439deb513d45d94d6508
4
+ data.tar.gz: 80366781eaff9988acabebe7717196f853ae6050
5
5
  SHA512:
6
- metadata.gz: 55eafc6b2e96945051c4fdbab5ffde89c62149e93f2e49681d6e8af53b2785b22ce8f94c35d6e310416612050953b109e748d13730e6bd6121d7b1650d3730f7
7
- data.tar.gz: 24815340a8e9209643a49d0db24a5071b0458b1d5c0667372f8a9fcacf24fcabc1e407e39ae3bffc0a2ddd5f597f62306af68e3089f6313b76cabc969bc5b39d
6
+ metadata.gz: baa231b57ac38e3ca7a9285032c6d66c48c3fa13c6e445e710dd356895136f61a9974e12f77098bd678a7af64cc7bec2e380c7ecc18d561b0457796c23e43011
7
+ data.tar.gz: 0418f5c6a40c30374f3bebb8dd209ee9129f33b2be45434a9adc117a0b0cd27a587b116648f9ae2e7f2748e87f4afd567bbdd47604d490f71ada1994ef0ef044
@@ -480,7 +480,7 @@ module Daedalus
480
480
  flags = (ctx.cflags + ctx.cxxflags).join(" ").
481
481
  gsub(/-g[^ ]*/, "").
482
482
  gsub(/-O.?/, "")
483
- flags << " -glldb -gline-tables-only -Oz"
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 << " -glldb -gline-tables-only -Oz"
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
- ll_path = path.sub(/cpp$/, "ll")
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
@@ -1,3 +1,3 @@
1
1
  module Daedalus
2
- VERSION = "1.1"
2
+ VERSION = "1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: daedalus-core
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.1'
4
+ version: '1.2'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Shirai