mirror of https://github.com/YosysHQ/abc.git
Fix WASI build
This commit is contained in:
parent
860b49dd80
commit
11732d3082
|
|
@ -1103,7 +1103,11 @@ tn_vi * Tn_SolveSat( const char * pFileNameIn, const char * pFileNameOut, int Se
|
|||
sprintf( pCommand, "%s --seed=%d %s %s > %s", pKissat, Seed, fVerboseSolver ? "": "-q", pFileNameIn, pFileNameOut );
|
||||
//if ( fVerbose )
|
||||
// printf( "Running command line: %s\n", pCommand );
|
||||
#if defined(__wasm)
|
||||
if ( 1 )
|
||||
#else
|
||||
if ( system( pCommand ) == -1 )
|
||||
#endif
|
||||
{
|
||||
printf( "Command \"%s\" did not succeed.\n", pCommand );
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue