Skip to content

fix: make macOS binaries use relocatable rpaths#1552

Merged
leejet merged 1 commit into
masterfrom
fix/macos-relocatable-rpath
May 23, 2026
Merged

fix: make macOS binaries use relocatable rpaths#1552
leejet merged 1 commit into
masterfrom
fix/macos-relocatable-rpath

Conversation

@leejet
Copy link
Copy Markdown
Owner

@leejet leejet commented May 23, 2026

Summary

  • Add macOS rpath settings for shared library and executable targets.
  • Let sd-cli and sd-server find colocated dylibs via @executable_path.
  • Set shared library install names/rpaths through @rpath and @loader_path so release zips remain relocatable.

Related Issue / Discussion

Fix #1544

Additional Information

N/A

Checklist

@leejet leejet merged commit 72e512a into master May 23, 2026
14 checks passed
fszontagh added a commit to fszontagh/stable-diffusion.cpp that referenced this pull request May 26, 2026
8 new upstream commits, all auto-merged cleanly (no conflicts).

  1ceb5bd fix: package ROCm BLAS runtime in Windows artifacts (leejet#1562)
  202c615 fix: use flux flow prediction for LTXAV (leejet#1561)
  a397e03 feat: add Longcat-Image / Longcat-Image-Edit support (leejet#1053)
  72e512a fix: make macOS binaries use relocatable rpaths (leejet#1552)
  0baf721 feat: add LTX temporal latent upscaler support (leejet#1551)
  645e6e9 feat: add LTX rational latent upscaler (leejet#1549)
  cbf9219 fix: strip trailing latent channels for preview decode (leejet#1548)
  8cf55a3 fix: load TAESD preview-only model correctly (leejet#1547)

Highlights for our refactor:

- src/flux.hpp: Longcat-Image adds 8 lines around the Flux constructor
  (new model variant flag); did not touch our share_modulation guards
  in forward_double_block / forward_single_block (483cebc), which
  auto-merged cleanly above the new code.
- src/ggml_extend.hpp: Longcat added 12 lines unrelated to our friend
  declaration for LayerStreaming::run_streaming.
- src/stable-diffusion.cpp: LTXAV flow-prediction fix and Longcat
  wiring auto-merged with our smart_offload_for_vae block.
- src/conditioner.hpp, src/anima.hpp: small Longcat additions.
@leejet leejet deleted the fix/macos-relocatable-rpath branch May 26, 2026 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] MacOS Failure due to bad linking.

1 participant