mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-03 21:09:11 +00:00 
			
		
		
		
	ML API: bugfixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
This commit is contained in:
		
							parent
							
								
									fe0b579426
								
							
						
					
					
						commit
						a1bb307dd1
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -1402,7 +1402,7 @@ class MLComponent(Component):
 | 
				
			||||||
            out.write('\t%s ' % (OCAMLOPT))
 | 
					            out.write('\t%s ' % (OCAMLOPT))
 | 
				
			||||||
            if DEBUG_MODE:
 | 
					            if DEBUG_MODE:
 | 
				
			||||||
                out.write('-g ')
 | 
					                out.write('-g ')
 | 
				
			||||||
            out.write('-cclib -lz3ml -I %s %s/z3enums.ml %s/z3native.ml %s/z3.ml -a -o api/ml/z3.cmxa -linkall\n' % (sub_dir,sub_dir,sub_dir,sub_dir))
 | 
					            out.write('-cclib "-Lapi/ml -lz3ml" -I %s %s/z3enums.ml %s/z3native.ml %s/z3.ml -a -o api/ml/z3.cmxa -linkall\n' % (sub_dir,sub_dir,sub_dir,sub_dir))
 | 
				
			||||||
            out.write('%s: %s\n' % (os.path.join(sub_dir, 'z3.cmxs'), os.path.join(sub_dir, 'z3.cmxa')))
 | 
					            out.write('%s: %s\n' % (os.path.join(sub_dir, 'z3.cmxs'), os.path.join(sub_dir, 'z3.cmxa')))
 | 
				
			||||||
            out.write('\t%s ' % (OCAMLOPT))
 | 
					            out.write('\t%s ' % (OCAMLOPT))
 | 
				
			||||||
            if DEBUG_MODE:
 | 
					            if DEBUG_MODE:
 | 
				
			||||||
| 
						 | 
					@ -1415,7 +1415,7 @@ class MLComponent(Component):
 | 
				
			||||||
            out.write('\t%s ' % (OCAMLC))
 | 
					            out.write('\t%s ' % (OCAMLC))
 | 
				
			||||||
            if DEBUG_MODE:
 | 
					            if DEBUG_MODE:
 | 
				
			||||||
                out.write('-g ')
 | 
					                out.write('-g ')
 | 
				
			||||||
            out.write('-cclib -lz3ml -I %s %s/z3enums.ml %s/z3native.ml %s/z3.ml -a -o api/ml/z3.cma -linkall\n' % (sub_dir,sub_dir,sub_dir,sub_dir))
 | 
					            out.write('-cclib "-Lapi/ml -lz3ml" -I %s %s/z3enums.ml %s/z3native.ml %s/z3.ml -a -o api/ml/z3.cma -linkall\n' % (sub_dir,sub_dir,sub_dir,sub_dir))
 | 
				
			||||||
            out.write('ml: %s %s %s\n' % (os.path.join(sub_dir, 'z3.cmxa'), os.path.join(sub_dir, 'z3.cmxs'), os.path.join(sub_dir, 'z3.cma')))
 | 
					            out.write('ml: %s %s %s\n' % (os.path.join(sub_dir, 'z3.cmxa'), os.path.join(sub_dir, 'z3.cmxs'), os.path.join(sub_dir, 'z3.cma')))
 | 
				
			||||||
            out.write('\n')
 | 
					            out.write('\n')
 | 
				
			||||||
            # Generate META file and package installation commands
 | 
					            # Generate META file and package installation commands
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue