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

Makefile gcc6 for MAC #113

Closed
JE-Jimenez opened this issue Jan 19, 2018 · 2 comments
Closed

Makefile gcc6 for MAC #113

JE-Jimenez opened this issue Jan 19, 2018 · 2 comments

Comments

@JE-Jimenez
Copy link

the Makefile need to be set to gcc6 to match the instruction in the "README" file.
ifeq ($(BUILDTYPE), MacOSX)
CC ?= gcc-mp-6

@jtamir
Copy link
Member

jtamir commented Jan 19, 2018

You are right. In the meantime, you can make a Makefile.local file with the line CC=gcc-mp-6

@JE-Jimenez
Copy link
Author

I also notice that when you do type: $ make install macOS won't allow you to save in /usr/bin, therefor it would be convenient if you add a option for Mac in the Makefile: e.g.

ifeq ($(BUILDTYPE), MacOSX)
         PREFIX ?= usr/local	
else
	PREFIX ?= usr/
endif

As you pointed out, I fixed this issue within the Makefile.local. if you install using brew then you don't need to worry about it. Well, I hope this comments are helpful. Thank very much for maintaining this AMAZING library.

@uecker uecker closed this as completed in 669800c Jan 21, 2018
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

2 participants