Skip to content

Conversation

@dlongnecke-cray
Copy link
Contributor

@dlongnecke-cray dlongnecke-cray commented Jan 29, 2026

This PR adjusts the runtime library to be output using an absolute path.

The dynamic loading effort currently requires the runtime to be built as a dynamic library. I was having problems doing that on Mac because dyld bakes in the load path using the -o name of the binary, which prior to this PR was a relative path e.g,. ../lib/<cfg-path>/libchpl.so. Adjust the Makefiles to stop doing that and use an absolute path instead via $(CHPL_MAKE_HOME).

It was using relative paths before e.g., '../lib/...', but this causes
problems when building the runtime as a dynamic library on my feature
branch. Stop doing that.

Signed-off-by: David Longnecker <[email protected]>
@dlongnecke-cray dlongnecke-cray self-assigned this Jan 29, 2026
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.

1 participant