Use Ninja + setup.py removes CMAKE_INSTALL_PREFIX
{% set name = "timemory" %}
-{% set version = "3.2.1rc13" %}
-{% set generator = "Unix Makefiles" %} # [not win]
-{% set generator = "Visual Studio 16 2019" %} # [win]
+{% set version = "3.2.1rc14" %}
package:
name: '{{ name|lower }}'
@@ -9,13 +7,13 @@ package:
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
- sha256: 967a777ce446240412c957b341fc5b05effd754d4d7b9541c3558bb06714f6ab
+ sha256: 1fb351697b73e682f2db83cc3abfdb294c4fa7166a28230e7cc761926cd24b7b
build:
number: 0
script: "{{ PYTHON }} setup.py install --single-version-externally-managed --record record.txt \
-j 2 \
- -G '{{ generator }}' \
+ -G Ninja \
--cxx-standard=17 \
--enable-portable \
--enable-static-libs \
@@ -42,8 +40,7 @@ requirements:
- {{ compiler('cxx') }}
- {{ compiler('cuda') }} # [cuda_compiler_version != "None"]
- cmake
- - make # [not win]
- - ninja # [win]
+ - ninja
host:
- python
- pip
