fully parallelize the Library builder
This commit is contained in:
parent
df420fdf5c
commit
b454208117
@ -43,8 +43,20 @@ module Rscons
|
|||||||
'_TARGET' => target,
|
'_TARGET' => target,
|
||||||
'_SOURCES' => objects,
|
'_SOURCES' => objects,
|
||||||
})
|
})
|
||||||
|
options[:sources] = objects
|
||||||
command = env.build_command("${ARCMD}", vars)
|
command = env.build_command("${ARCMD}", vars)
|
||||||
standard_build("AR #{target}", target, command, objects, env, cache)
|
standard_threaded_build("AR #{target}", target, command, objects, env, cache)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Finalize a build.
|
||||||
|
#
|
||||||
|
# @param options [Hash]
|
||||||
|
# Finalize options.
|
||||||
|
#
|
||||||
|
# @return [String, nil]
|
||||||
|
# The target name on success or nil on failure.
|
||||||
|
def finalize(options)
|
||||||
|
standard_finalize(options)
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user