BLD: Add recommended CMAKE_ARGS
@@ -20,7 +20,13 @@ build:
string: "{{ "cuda" + cuda_compiler_version|string }}h{{ PKG_HASH }}_{{ build }}"
skip: true # [osx or win or cuda_compiler_version == "None"]
merge_build_host: True # [win]
- script: cmake -DCMAKE_INSTALL_PREFIX:PATH=$PREFIX . -G $CMAKE_GENERATOR
+ script:
+ cmake
+ -G $CMAKE_GENERATOR
+ -DCMAKE_BUILD_TYPE=Release
+ -DCMAKE_INSTALL_PREFIX:PATH=$PREFIX
+ -DCMAKE_INSTALL_LIBDIR=lib
+ ${CMAKE_ARGS} ${SRC_DIR}
outputs:
- name: libastra
