Skip to content
This repository has been archived by the owner on Jun 24, 2020. It is now read-only.

Update recipes for better portability #37

Closed
astrojuanlu opened this issue Oct 19, 2015 · 4 comments
Closed

Update recipes for better portability #37

astrojuanlu opened this issue Oct 19, 2015 · 4 comments

Comments

@astrojuanlu
Copy link
Owner

@stuarteberg Made some recommendations here: ContinuumIO/anaconda-issues#483 (comment)

I have a problem with the first rule though:

In meta.yaml, always include gcc as a build dependency, never a run dependency.

The fact is that instant is a just-in-time compiler, so I actually need gcc as a run dependency. Should I add libgcc too then?

@stuarteberg
Copy link

I didn't realize that your package was a JIT. Perhaps the rules I listed were worded too strongly.

Should I add libgcc too then?

No, the gcc package is a superset of the libgcc package. If you have it as a run dependency, there's no benefit to also including libgcc.

@astrojuanlu
Copy link
Owner Author

No, the gcc package is a superset of the libgcc package. If you have it as a run dependency, there's no benefit to also including libgcc.

Got it, thanks. Let's see if I can provide at least an almost-portable version of the packages.

@astrojuanlu
Copy link
Owner Author

I found something stunning: using

CC=${PREFIX}/bin/gcc
CXX=${PREFIX}/bin/g++

leads to CHOLMOD related errors, whereas

CC=${PREFIX}/bin/cc
CXX=${PREFIX}/bin/c++

have no side effects. cc is identical to gcc and c++ is identical to g++. I will need another day to find the will to debug this, but so far it works.

@astrojuanlu
Copy link
Owner Author

I'm closing this issue because I managed to compile the packages but I'll have to bring back VTK support at some point. Thanks for your help!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants