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

Dirac doesn't compile properly in 64 bit linux (with a solution) #42

Open
pepperpepperpepper opened this issue Jan 29, 2015 · 0 comments

Comments

@pepperpepperpepper
Copy link

The setup.py script for dirac needs to detect whether the OS is running 64 or 32 bit linux.
I couldn't figure out why it wouldn't compile on my 64bit arch system, but when I changed
-lDirac
to
-lDirac64 (both binaries are built in lib/)
it worked fine.

Maybe there are other similar issues with 32-bit/64-bit compatibility elsewhere in the project, but everything seems to be fine for me using g++-multilib.

Basically the setup.py script should use some way to determine whether the rest of the libs are for 64 bit architectures, (maybe if it's 64bit python, etc), if it is, use
libraries = ['Dirac64'],
instead of
libraries = ['Dirac'],

Did not have this problem at all building for Darwin.
awesome project, and thanks!

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

No branches or pull requests

1 participant