[deploy]禁用-O1以调试超时问题
This commit is contained in:
@@ -70,6 +70,9 @@ void parseArgs(int argc, char **argv) {
|
||||
if (optLevel < 0) {
|
||||
cerr << "Error: Optimization level must be non-negative." << endl;
|
||||
usage(EXIT_FAILURE);
|
||||
} else if (optLevel == 1) {
|
||||
cerr << "debugging, exit..." << endl;
|
||||
exit(-1);
|
||||
}
|
||||
} catch (const std::invalid_argument& ia) {
|
||||
cerr << "Error: Invalid argument for -O: " << optarg << endl;
|
||||
|
||||
Reference in New Issue
Block a user