Library search path resolution.
This commit is contained in:
committed by
alexander-gorshenev
parent
1b30f0988b
commit
48742b7f3f
@@ -101,6 +101,8 @@ class K2Native : CLICompiler<K2NativeCompilerArguments>() {
|
||||
|
||||
put(NATIVE_LIBRARY_FILES,
|
||||
arguments.nativeLibraries.toNonNullList())
|
||||
put(REPOSITORIES,
|
||||
arguments.repositories.toNonNullList())
|
||||
|
||||
// TODO: Collect all the explicit file names into an object
|
||||
// and teach the compiler to work with temporaries and -save-temps.
|
||||
|
||||
@@ -83,6 +83,9 @@ public class K2NativeCompilerArguments extends CommonCompilerArguments {
|
||||
@Argument(value = "--print_bitcode", description = "Print llvm bitcode")
|
||||
public boolean printBitCode;
|
||||
|
||||
@Argument(value = "-repo", shortName = "-r", valueDescription = "<path>", description = "Library search path")
|
||||
public String[] repositories;
|
||||
|
||||
@Argument(value = "--verify_ir", description = "Verify IR")
|
||||
public boolean verifyIr;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user