Skip old compilers
{% set name = "r-xtensor" %}
{% set posix = 'm2-' if win else '' %}
-{% set native = 'm2w64-' if win else '' %}
+{% set native = 'm2w64-' %}
{% set version = "0.9.0" %}
{% set sha256 = "0c6741dac758c30e1a0e8251ba14ded07c56acc1a2cff44ef01f5a7922d967b0" %}
@@ -18,6 +18,7 @@ build:
rpaths:
- lib/R/lib/
- lib/
+ {% if 'toolchain' in compiler('cxx') %}skip: True{% endif %} # Only build with modern compilers.
requirements:
build:
