@@ -10,30 +10,20 @@ def compile_sctk(
1010 branch : Optional [str ] = None ,
1111 commit : Optional [str ] = None ,
1212 sctk_git_repository : str = "https://github.com/usnistgov/SCTK.git" ,
13- alias : Optional [str ] = None ,
1413) -> tk .Path :
1514 """
1615 :param branch: specify a specific branch
1716 :param commit: specify a specific commit
1817 :param sctk_git_repository: where to clone SCTK from, usually does not need to be altered
1918 :return: SCTK binary folder
2019 """
21- sctk_repo = CloneGitRepositoryJob (
22- url = sctk_git_repository ,
23- branch = branch ,
24- commit = commit ,
25- checkout_folder_name = alias if alias is not None else "repository" ,
26- ).out_repository
20+ sctk_repo = CloneGitRepositoryJob (url = sctk_git_repository , branch = branch , commit = commit ).out_repository
2721 sctk_make = MakeJob (
2822 folder = sctk_repo ,
2923 make_sequence = ["config" , "all" , "check" , "install" , "doc" ],
3024 link_outputs = {"bin" : "bin/" },
3125 )
3226
33- # This is probably the dirtiest hack i ever did:
34- if alias is not None :
35- sctk_make .add_alias (alias )
36-
3727 # This is needed for the compilation to work in the i6 environment, otherwise still untested
3828 sctk_make ._sis_environment .set ("CPPFLAGS" , "-std=c++11" )
3929 return sctk_make .out_links ["bin" ]
0 commit comments