summaryrefslogtreecommitdiffhomepage
path: root/tasks
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2020-05-01 07:40:38 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2020-10-12 16:20:47 +0900
commitfdbfeaf533fd75143f5d3af3ec6c585b9da746c4 (patch)
tree49ec92b8bc96f33c45630c4f11b5020e3e66b23a /tasks
parentea31878b1f135ae570c3923bfd4817f467725f84 (diff)
downloadmruby-fdbfeaf533fd75143f5d3af3ec6c585b9da746c4.tar.gz
mruby-fdbfeaf533fd75143f5d3af3ec6c585b9da746c4.zip
Build process updated:
You have to specify `TARGET` to specify a configuration, e.g. ``` rake TARGET=host-debug all test ``` When you port `mruby` to a new configuration: 1. copy an existing configuration under `target` directory 2. modify the new configuration file 3. build using the new configuration 4. send PR if you please
Diffstat (limited to 'tasks')
-rw-r--r--tasks/benchmark.rake6
1 files changed, 1 insertions, 5 deletions
diff --git a/tasks/benchmark.rake b/tasks/benchmark.rake
index 6352f5c17..661fd2ada 100644
--- a/tasks/benchmark.rake
+++ b/tasks/benchmark.rake
@@ -9,11 +9,7 @@ def bm_files
end
def build_config_name
- if ENV['MRUBY_CONFIG']
- File.basename(ENV['MRUBY_CONFIG'], '.rb').gsub('build_config_', '')
- else
- "build"
- end
+ MRUBY_TARGET
end
def plot_file