eclipsed 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/eclipsed.rb +7 -0
- data/lib/eclipsed/version.rb +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: f63c6d0d63cac35782b5b066e4696140d5ac40c1
|
4
|
+
data.tar.gz: 9d7e36652abcd13f48684390b6d4da9df9758fbe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a181516271b9df82c0b11746f747b0ff148a5cf1b56c1b3ca1413b667510c1731fee9c91b0e4a887ba8037f02cbc31e0c00cc7a60fa93a17eb200a45b31d383
|
7
|
+
data.tar.gz: 92a4e6bf01d3ed426b753944542dcf2c8aef5a7d79286338edb06a7e59a9814369ea0622bf61acb74d6f96cb37f295a2a0892c666cdb0a112837d3cfcc58448d
|
data/lib/eclipsed.rb
CHANGED
@@ -161,6 +161,11 @@ module Eclipsed
|
|
161
161
|
system "scp #{file_name}.so #{node}:#{@app_dir}/"
|
162
162
|
end
|
163
163
|
end #}}}
|
164
|
+
# compile {{{
|
165
|
+
def compile(input)
|
166
|
+
file_name = File.basename(input,File.extname(input))
|
167
|
+
system "g++ -std=c++14 -Wall -Werror -o #{file_name} #{file_name}.cc -lvdfs -lboost_system"
|
168
|
+
end #}}}
|
164
169
|
end
|
165
170
|
|
166
171
|
class CLI_driver < Core
|
@@ -180,6 +185,7 @@ module Eclipsed
|
|
180
185
|
opts.separator ""
|
181
186
|
opts.separator "MapReduce actions"
|
182
187
|
opts.separator " submit [app] Submit application to VeloxMR system"
|
188
|
+
opts.separator " compile [app] Compile application client binary"
|
183
189
|
opts.separator ""
|
184
190
|
opts.separator "Debugging actions"
|
185
191
|
opts.separator " debug_at [N] Launch eclipseDFS with node N in gdb"
|
@@ -203,6 +209,7 @@ module Eclipsed
|
|
203
209
|
when 'attach_at' then attach_at input[0]
|
204
210
|
when 'all_but' then all_but input[0]
|
205
211
|
when 'submit' then submit input[0]
|
212
|
+
when 'compile' then compile input[0]
|
206
213
|
when 'pry' then pry
|
207
214
|
else raise 'No valid argument, rerun with --help'
|
208
215
|
end
|
data/lib/eclipsed/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eclipsed
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vicente Adolfo Bolea Sanchez
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-11-
|
11
|
+
date: 2016-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|