mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-31 11:42:28 +00:00 
			
		
		
		
	Bugfix: post-build sanity check when an old version of ocaml-z3 is installed (#7815)
* fix: add generating META for ocamlfind. * Patch macos. We need to keep the `@rpath` and use environment var to enable the test because we need to leave it to be fixed by package managers. * Trigger CI. * Debug. * Debug. * Debug. * Debug. * Debug. * Debug. * Hacky fix for ocaml building warning. * Fix typo and rename variables. * Fix cmake for ocaml test, using local libz3 explicit.
This commit is contained in:
		
							parent
							
								
									12563c6963
								
							
						
					
					
						commit
						894c0e9fbe
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -255,6 +255,7 @@ set(z3ml_example_src ${PROJECT_SOURCE_DIR}/examples/ml/ml_example.ml) | |||
| add_custom_command( | ||||
|   TARGET build_z3_ocaml_bindings POST_BUILD | ||||
|   COMMAND "${OCAMLFIND}" ocamlc | ||||
|     -cclib "${libz3_path}/libz3${so_ext}" | ||||
|     -o "${z3ml_bin}/ml_example.byte" | ||||
|     -package zarith | ||||
|     -linkpkg | ||||
|  | @ -270,6 +271,7 @@ add_custom_command( | |||
| add_custom_command( | ||||
|   TARGET build_z3_ocaml_bindings POST_BUILD | ||||
|   COMMAND "${OCAMLFIND}" ocamlopt | ||||
|     -cclib "${libz3_path}/libz3${so_ext}" | ||||
|     -o "${z3ml_bin}/ml_example" | ||||
|     -package zarith | ||||
|     -linkpkg | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue