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:
Chris Lattner
2013-11-03 16:04:27 +00:00
parent beab485db3
commit 68af974227
58 changed files with 39 additions and 1638 deletions

View File

@@ -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;
}
}