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

smbfactor.c compilation #3

Open
xydinesh opened this issue May 10, 2012 · 2 comments
Open

smbfactor.c compilation #3

xydinesh opened this issue May 10, 2012 · 2 comments
Assignees
Labels

Comments

@xydinesh
Copy link
Contributor

UPDATE: Now respects CC variable, but still passes U_GNU_C flag. Is this necessary?

smbfactor.c compilation does not respect the compilers in CC variable, we may need to define two variables for CC and CXX

lib_graphd/src/Makefile, Line 6

%.o: $(METIS_PROG_DIR)/%.c
gcc $(INCLUDES) $(CFLAGS) -U__GNUC__ -c $<

gcc -I../inc/ -I/usr/local/include -I/tmp/work/d8w/smoky/metis-5.0.2//include -I/tmp/work/d8w/smoky/metis-5.0.2//libmetis -I/tmp/work/d8w/smoky/metis-5.0.2//GKlib -I/tmp/work/d8w/smoky/metis-5.0.2//programs -I/tmp/work/d8w/smoky/AMD//Include -I/tmp/work/d8w/smoky/AMD//../UFconfig -O3 -D__LOG_ENABLE__ -D__MADNESS__ -std=c++0x -Wno-strict-aliasing -Wno-deprecated -ffast-math -march=native -D__PARALLEL__ -D__OPENMP__ -fopenmp -DHAS_METIS -D_FILE_OFFSET_BITS=64 -DHAS_AMD -U__GNUC__ -c /tmp/work/d8w/smoky/metis-5.0.2//programs/smbfactor.c

@ghost ghost assigned bdsullivan May 10, 2012
bdsullivan added a commit that referenced this issue May 10, 2012
…or issue GH-3, added dependency for treed library on MADNESS due to container usage in bigint
@xydinesh
Copy link
Contributor Author

I don't think we need U_GNU_C flag unless we are using gcc

@bdsullivan
Copy link
Owner

Right, but how do we detect whether or not $(CC) is gcc?

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

No branches or pull requests

2 participants