Added git_ref parameter to libbacktrace recipe.
This commit is contained in:
parent
040571f74b
commit
7b94bc3fe0
@ -1,8 +1,8 @@
|
|||||||
|
|
||||||
from SCons.Script import *
|
from SCons.Script import *
|
||||||
|
|
||||||
def cook(env: Environment) -> dict:
|
def cook(env: Environment, git_ref = 'master') -> dict:
|
||||||
repo = env.Cook('GitBranch', repo_name = 'libbacktrace', remote_url = 'https://github.com/ianlancetaylor/libbacktrace.git', git_ref = 'master')
|
repo = env.Cook('GitBranch', repo_name = 'libbacktrace', remote_url = 'https://github.com/ianlancetaylor/libbacktrace.git', git_ref = git_ref)
|
||||||
checkout_root = repo['checkout_root']
|
checkout_root = repo['checkout_root']
|
||||||
build_result = env.Cook('AutotoolsProject', checkout_root)
|
build_result = env.Cook('AutotoolsProject', checkout_root)
|
||||||
return {
|
return {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user