mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	Merge pull request #2416 from QuantamHD/master
Adds support for defining abc location at runtime
This commit is contained in:
		
						commit
						dfeff65c2b
					
				
					 1 changed files with 6 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1471,7 +1471,12 @@ struct AbcPass : public Pass {
 | 
			
		|||
		po_map.clear();
 | 
			
		||||
 | 
			
		||||
#ifdef ABCEXTERNAL
 | 
			
		||||
		std::string exe_file = ABCEXTERNAL;
 | 
			
		||||
		std::string exe_file;
 | 
			
		||||
		if (std::getenv("ABC")) {
 | 
			
		||||
			exe_file = std::getenv("ABC");
 | 
			
		||||
		} else {
 | 
			
		||||
			exe_file = ABCEXTERNAL;
 | 
			
		||||
		}
 | 
			
		||||
#else
 | 
			
		||||
		std::string exe_file = proc_self_dirname() + proc_program_prefix() + "yosys-abc";
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue