Sha256: abb418df202be145985eead6e31c252126a99abff5b096ed89daaa08727570f8
Contents?: true
Size: 808 Bytes
Versions: 17
Compression:
Stored size: 808 Bytes
Contents
require 'origen/application/runner' module Origen class Application class Runner # When multiple patterns are requested via the command line with the LSF option, # Origen will split it into separate jobs for each pattern. However, if the --flow # option is also supplied in that case, then the user will want all the patterns to # execute as a single job on the LSF, this hack to Origen makes that happen. alias_method :orig_expand_lists_and_directories, :expand_lists_and_directories def expand_lists_and_directories(files, options = {}) if (options[:lsf] && OrigenSim.flow) && !Origen.running_remotely? Array(Array(files).join(' ')) else orig_expand_lists_and_directories(files, options) end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems