Skip to content

Commit

Permalink
Use anchors to avoid duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Oct 29, 2024
1 parent 1ee6e16 commit 74b05d0
Showing 1 changed file with 8 additions and 33 deletions.
41 changes: 8 additions & 33 deletions recipes/connectome-workbench/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ outputs:
- name: {{ name }}-gui
# build/host requirements should exactly match the root requirements
requirements:
build:
build: &build
- {{ compiler('cxx') }}
- {{ stdlib('c') }}
- cmake >=3.0
Expand All @@ -66,54 +66,29 @@ outputs:
- {{ cdt('libxdamage') }} # [linux]
- {{ cdt('libxxf86vm') }} # [linux]
- {{ cdt('libxext') }} # [linux]
host:
host: &host
- qt
- openssl
- libzlib
- zlib
- freetype
- libglu # [linux]
- glew # [windows]
run:
run: &run
- qt-main
- libgl # [linux]
- libglu # [linux]
- libgl # [linux]
- libglu # [linux]
files:
include:
- bin/wb_view
test:
commands:
- wb_view -help
- name: {{ name }}-cli
# build/host requirements should exactly match the root requirements
requirements:
build:
- {{ compiler('cxx') }}
- {{ stdlib('c') }}
- cmake >=3.0
- ninja
- qwt
# OpenMP
- llvm-openmp # [osx]
- libgomp # [linux]
# libGL
- {{ cdt('mesa-libgl-devel') }} # [linux]
- {{ cdt('mesa-dri-drivers') }} # [linux]
- {{ cdt('libxdamage') }} # [linux]
- {{ cdt('libxxf86vm') }} # [linux]
- {{ cdt('libxext') }} # [linux]
host:
- qt
- openssl
- libzlib
- zlib
- freetype
- libglu # [linux]
- glew # [windows]
run:
- qt-main
- libgl # [linux]
- libglu # [linux]
build: *build
host: *host
run: *run
files:
include:
- bin/wb_command
Expand Down

0 comments on commit 74b05d0

Please sign in to comment.