mirror of
https://github.com/Z3Prover/z3
synced 2026-05-25 03:16:21 +00:00
Fix OCaml linker flag and align validation runners with build runners
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
parent
34d2d08364
commit
e685ea45ed
3 changed files with 3 additions and 3 deletions
2
.github/workflows/nightly.yml
vendored
2
.github/workflows/nightly.yml
vendored
|
|
@ -77,7 +77,7 @@ jobs:
|
||||||
validate-macos-headerpad-x64:
|
validate-macos-headerpad-x64:
|
||||||
name: "Validate macOS x64 dylib headerpad"
|
name: "Validate macOS x64 dylib headerpad"
|
||||||
needs: [mac-build-x64]
|
needs: [mac-build-x64]
|
||||||
runs-on: macos-13
|
runs-on: macos-latest
|
||||||
timeout-minutes: 15
|
timeout-minutes: 15
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
|
|
|
||||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
|
@ -96,7 +96,7 @@ jobs:
|
||||||
validate-macos-headerpad-x64:
|
validate-macos-headerpad-x64:
|
||||||
name: "Validate macOS x64 dylib headerpad"
|
name: "Validate macOS x64 dylib headerpad"
|
||||||
needs: [mac-build-x64]
|
needs: [mac-build-x64]
|
||||||
runs-on: macos-13
|
runs-on: macos-15
|
||||||
timeout-minutes: 15
|
timeout-minutes: 15
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
|
|
|
||||||
|
|
@ -160,7 +160,7 @@ endif()
|
||||||
if( APPLE )
|
if( APPLE )
|
||||||
# set(ocaml_rpath "@executable_path/../libz3${so_ext}")
|
# set(ocaml_rpath "@executable_path/../libz3${so_ext}")
|
||||||
# Add headerpad for install_name_tool compatibility on macOS
|
# Add headerpad for install_name_tool compatibility on macOS
|
||||||
list(APPEND c_lib_deps "-Wl,-headerpad_max_install_names")
|
list(APPEND c_lib_deps "-ldopt" "-Wl,-headerpad_max_install_names")
|
||||||
elseif( UNIX )
|
elseif( UNIX )
|
||||||
set(ocaml_rpath "\\$ORIGIN/../libz3${so_ext}")
|
set(ocaml_rpath "\\$ORIGIN/../libz3${so_ext}")
|
||||||
list(APPEND c_lib_deps "-dllpath" ${ocaml_rpath})
|
list(APPEND c_lib_deps "-dllpath" ${ocaml_rpath})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue