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

Modifications to MANIFEST, SConstruct for easier macOS compilation #26

Merged
merged 2 commits into from
Aug 15, 2017

Conversation

evanheller
Copy link
Contributor

For compilation on macOS, MANIFEST.in needs to include .dylib files so that they're copied to the installation directory. Libraries like fftw3 are usually installed to /usr/local; setting CCFLAGS and fftw_lib_path to point here are helpful to make the install script work without having to export these and run SCons manually.

@HazenBabcock
Copy link
Member

Are you planning to resolve the SConstruct merge conflict? Or do you want me to?

@HazenBabcock
Copy link
Member

HazenBabcock commented Aug 15, 2017

Also, are the CCFLAGS and LDFLAGS that you want to add typically in the users current environment? I realized when I was trying to compile this project on the RC cluster that what I wanted to use was:
env = Environment(ENV = os.environ)
and not:
env = DefaultEnvironment()
in order to compile in the users current environment instead of the default (mostly empty?) environment. Right now this change is still in a private branch, but if it solves this issue then we could just fix that line in master.

I'm a little leery of the approach of using fixed paths as you propose because that might not be the location of the fftw3 library that the user actually wants to use.

@evanheller
Copy link
Contributor Author

evanheller commented Aug 15, 2017 via email

@HazenBabcock HazenBabcock merged commit e4d66fd into ZhuangLab:master Aug 15, 2017
@HazenBabcock
Copy link
Member

Okay, merged, thanks!

However, we may be overwriting the values for CCFLAGS and LDFLAGS that the user provides, so manual intervention could involve modifying the SConstruct file instead of simply exporting these environment variables? I guess we'll see if we get any complaints..

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.

2 participants