Skip to content

Add standard Automake variables with preprocessor flags to nvcc command line

Karl Wette requested to merge (removed):nvcc-automake-var into master

Description

The nvcc command line in gnuscripts/lalsuite_cuda.am is missing a few standard Automake variables which supply preprocessor flags: $(DEFS), $(DEFAULT_INCLUDES), $(INCLUDES). This can cause CUDA builds to fail in some circumstances where those variables contain e.g. important -I flags. This patch adds these variables to the nvcc command line.

API Changes and Justification

Backwards Compatible Changes

  • This change introduces no API changes
  • This change adds new API calls

Backwards Incompatible Changes

  • This change modifies an existing API
  • This change removes an existing API

Review Status

Have tested this with a CUDA-enabled LALSuite build.

Merge request reports