packages:
  all:
    target: ["cannonlake"]
    require:
      - spec: ^openmpi +cuda
        when: '%gcc ^mpi'

      - spec: cuda_arch=70
        when: '+cuda'

      - '+cuda'
