Try switching to gxx
@@ -11,30 +11,29 @@ source:
build:
number: 0
- # Keep it simple for now, only build on Linux.
- skip: true # [not linux]
script:
# I also
- python -c "from cmdstanpy.install_cmdstan import *; install_version('.', verbose=True)"
- - mv ./bin "${PREFIX}"
+ - mv ./bin "${PREFIX}" # [not win]
+ - copy bin %PREFIX% # [win]
# No segfault in build env
- stanc --help
requirements:
build:
- - {{ compiler('gcc') }} # [not win]
- - {{ compiler('m2w64_gcc') }} # [win]
+ - {{ compiler('gxx') }} # [not win]
+ - {{ compiler('m2w64_gxx') }} # [win]
# This is contains the Python build script
- cmdstanpy
run:
- - {{ compiler('gcc') }} # [not win]
- - {{ compiler('m2w64_gcc') }} # [win]
+ - {{ compiler('gxx') }} # [not win]
+ - {{ compiler('m2w64_gxx') }} # [win]
# Included here for troubleshooting to keep run/build as similar as possible.
- cmdstanpy
test:
commands:
- # Causes segfault:
+ # Causes segfault locally:
- stanc --help
- stansummary --help
