Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[msat-installer] Don't use $ORIGIN on darwin #518

Merged
merged 1 commit into from Aug 17, 2018
Merged

Conversation

leonardt
Copy link
Contributor

Before this commit, I get the following message:

$ pysmt-install --msat
...
ld: warning: directory not found for option '-L$ORIGIN'

From my brief perusing of the internet, it seems that $ORIGIN is a linux specific construct.

@mikand
Copy link
Contributor

mikand commented Aug 17, 2018

Hi! Thanks for the fix! Since we do not have an Apple machine this slipped in... 😄

@mikand mikand merged commit 14bfefd into pysmt:master Aug 17, 2018
@randomir
Copy link
Collaborator

I don't have a Mac to test it right now, but I'm not sure this patch helps in building msat as run-path dependent library.

We have to check how to use distutils' support for RPATH via -R option to setup.py on MacOS, to build run-path dep libs.

Or maybe library lookup works as is (with this patch applied), but that should also be verified.

@marcogario
Copy link
Contributor

marcogario commented Aug 22, 2018

I think this PR was about removing a piece of information that is not needed. Whether msat is being build as a run-path dependent library or not is independent from this.

If you think this might be an issue, please open an issue. You can also describe how we could test this on Travis, that would be the easiest way. I am not sure whether you meant to reply to the PR or to the issue #519 .

We are using the setup.py from upstream. If there is an issue there, we need to file a bug-report with the MathSat team.

@randomir
Copy link
Collaborator

Excuse me, @marcogario, if I misunderstood something here. My impression was msat won't work either way (because it won't find the library in ./, since rpath-equivalent is not specified), and that this PR only removes a compiler warning. As I said, I don't have a Mac to test that, so my assumption/understanding might be completely wrong. Just wanted to chip in my 2c.

Now that I think about it, since Travis tests on Mac are passing, seems msat without rpath does indeed work. So, sorry for causing confusion.

@marcogario marcogario added this to the 0.7.6 milestone Nov 10, 2018
nbailluet pushed a commit to nbailluet/pysmt that referenced this pull request Mar 14, 2024
[msat-installer] Don't use $ORIGIN on darwin
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.

None yet

4 participants