script_extra for enabling cuda
{% set name = "timemory" %}
{% set version = "3.2.1rc14" %}
+{% set script_extra = "--enable-cuda -- -DCMAKE_CUDA_COMPILER=/usr/local/cuda/bin/nvcc" %} # [cuda_compiler_version != "None"]
+{% set script_extra = "" %} # [cuda_compiler_version == "None"]
package:
name: '{{ name|lower }}'
@@ -31,7 +33,8 @@ build:
--disable-dyninst \
--disable-gperftools \
--disable-python-hatchet \
- --disable-compiler-instrumentation"
+ --disable-compiler-instrumentation \
+ {{ script_extra }}"
skip: true # [osx]
requirements:
