Commit 5fd289cb authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Add an HPC variable, for the location of hpc

parent 8e2b5884
......@@ -115,6 +115,10 @@ ifeq "$(HP2PS_ABS)" ""
HP2PS_ABS := $(dir $(TEST_HC))/hp2ps
endif
ifeq "$(HPC)" ""
HPC := $(dir $(TEST_HC))/hpc
endif
$(eval $(call canonicaliseExecutable,TEST_HC))
ifeq "$(wildcard $(TEST_HC))" ""
$(error Cannot find ghc: $(TEST_HC))
......@@ -135,6 +139,11 @@ ifeq "$(wildcard $(HP2PS_ABS))" ""
$(error Cannot find hp2ps: $(HP2PS_ABS))
endif
$(eval $(call canonicaliseExecutable,HPC))
ifeq "$(wildcard $(HPC))" ""
$(error Cannot find hpc: $(HPC))
endif
$(eval $(call get-ghc-field,GhcRTSWays,RTS ways))
TOP_ABS := $(abspath $(TOP))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment