mirror of https://github.com/YosysHQ/abc.git
Add WASI support in Exa4_ManSolve.
This commit is contained in:
parent
be9a35c036
commit
18b9c612f4
|
|
@ -1650,7 +1650,11 @@ Vec_Int_t * Exa4_ManSolve( char * pFileNameIn, char * pFileNameOut, int TimeOut,
|
|||
sprintf( pCommand, "%s --time=%d %s %s > %s", pKissat, TimeOut, fVerboseSolver ? "": "-q", pFileNameIn, pFileNameOut );
|
||||
else
|
||||
sprintf( pCommand, "%s %s %s > %s", pKissat, fVerboseSolver ? "": "-q", pFileNameIn, pFileNameOut );
|
||||
#ifdef __wasm
|
||||
if ( 1 )
|
||||
#else
|
||||
if ( system( pCommand ) == -1 )
|
||||
#endif
|
||||
{
|
||||
fprintf( stdout, "Command \"%s\" did not succeed.\n", pCommand );
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue