Remove outdated comment
This commit is contained in:
parent
7c155f7456
commit
867e1333d0
@ -171,12 +171,10 @@ def check_install(self, spec):
|
|||||||
cc = which(join_path(spec['mpi'].prefix.bin, "mpicc"))
|
cc = which(join_path(spec['mpi'].prefix.bin, "mpicc"))
|
||||||
else:
|
else:
|
||||||
cc = which('cc')
|
cc = which('cc')
|
||||||
# TODO: Automate these path settings
|
# TODO: Automate these path and library settings
|
||||||
cc('-c', "-I%s" % join_path(spec.prefix, "include"), "check.c")
|
cc('-c', "-I%s" % join_path(spec.prefix, "include"), "check.c")
|
||||||
cc('-o', "check", "check.o",
|
cc('-o', "check", "check.o",
|
||||||
# I couldn't make libraries work on Darwin
|
|
||||||
"-L%s" % join_path(spec.prefix, "lib"), "-lhdf5",
|
"-L%s" % join_path(spec.prefix, "lib"), "-lhdf5",
|
||||||
# join_path(spec.prefix, "lib", "libhdf5.a"),
|
|
||||||
"-lz")
|
"-lz")
|
||||||
try:
|
try:
|
||||||
output = subprocess.check_output("./check")
|
output = subprocess.check_output("./check")
|
||||||
|
Loading…
Reference in New Issue
Block a user