mirror of https://github.com/YosysHQ/abc.git
Various usability changes (second round).
This commit is contained in:
parent
6f0d808859
commit
73695c7961
|
|
@ -131,7 +131,7 @@ int Abc_RealMain( int argc, char * argv[] )
|
||||||
enable_dbg_outs ^= 1;
|
enable_dbg_outs ^= 1;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'm':
|
case 'm': {
|
||||||
#ifndef WIN32
|
#ifndef WIN32
|
||||||
int maxMb = atoi(globalUtilOptarg);
|
int maxMb = atoi(globalUtilOptarg);
|
||||||
printf("Limiting memory use to %d MB\n", maxMb);
|
printf("Limiting memory use to %d MB\n", maxMb);
|
||||||
|
|
@ -142,8 +142,8 @@ int Abc_RealMain( int argc, char * argv[] )
|
||||||
setrlimit(RLIMIT_AS, &limit);
|
setrlimit(RLIMIT_AS, &limit);
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
case 'l':
|
case 'l': {
|
||||||
#ifndef WIN32
|
#ifndef WIN32
|
||||||
int maxTime = atoi(globalUtilOptarg);
|
int maxTime = atoi(globalUtilOptarg);
|
||||||
printf("Limiting time to %d seconds\n", maxTime);
|
printf("Limiting time to %d seconds\n", maxTime);
|
||||||
|
|
@ -154,7 +154,7 @@ int Abc_RealMain( int argc, char * argv[] )
|
||||||
setrlimit(RLIMIT_CPU, &limit);
|
setrlimit(RLIMIT_CPU, &limit);
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
case 'c':
|
case 'c':
|
||||||
if( Vec_StrSize(sCommandUsr) > 0 )
|
if( Vec_StrSize(sCommandUsr) > 0 )
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue