mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Remove 'axle' related code and build machinery. It turns out that we
will not be pursuing this project in the immediate future. Swift SVN r9901
This commit is contained in:
@@ -28,10 +28,7 @@ void CompilerInvocation::setMainExecutablePath(StringRef Path) {
|
||||
llvm::SmallString<128> LibPath(Path);
|
||||
llvm::sys::path::remove_filename(LibPath); // Remove /swift
|
||||
llvm::sys::path::remove_filename(LibPath); // Remove /bin
|
||||
if (getLangOptions().Axle)
|
||||
llvm::sys::path::append(LibPath, "lib", "axle");
|
||||
else
|
||||
llvm::sys::path::append(LibPath, "lib", "swift");
|
||||
llvm::sys::path::append(LibPath, "lib", "swift");
|
||||
setRuntimeIncludePath(LibPath.str());
|
||||
}
|
||||
|
||||
@@ -130,14 +127,6 @@ bool CompilerInvocation::parseArgs(ArrayRef<const char *> Args,
|
||||
case OPT_link_library:
|
||||
addLinkLibrary(InputArg->getValue(), LibraryKind::Library);
|
||||
break;
|
||||
|
||||
case OPT_std_EQ:
|
||||
if (strcmp(InputArg->getValue(), "axle") == 0)
|
||||
LangOpts.Axle = true;
|
||||
else
|
||||
Diags.diagnose(SourceLoc(), diag::error_invalid_arg_value,
|
||||
InputArg->getSpelling(), InputArg->getValue());
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user