Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Win library prefix #4

Merged
merged 5 commits into from
Aug 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .ci_support/linux_64_.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
c_compiler:
- gcc
c_compiler_version:
- '12'
- '13'
c_stdlib:
- sysroot
c_stdlib_version:
Expand All @@ -15,7 +15,7 @@ channel_targets:
cxx_compiler:
- gxx
cxx_compiler_version:
- '12'
- '13'
docker_image:
- quay.io/condaforge/linux-anvil-cos7-x86_64
target_platform:
Expand Down
4 changes: 2 additions & 2 deletions .ci_support/osx_64_.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ MACOSX_SDK_VERSION:
c_compiler:
- clang
c_compiler_version:
- '16'
- '17'
c_stdlib:
- macosx_deployment_target
c_stdlib_version:
Expand All @@ -17,7 +17,7 @@ channel_targets:
cxx_compiler:
- clangxx
cxx_compiler_version:
- '16'
- '17'
macos_machine:
- x86_64-apple-darwin13.4.0
target_platform:
Expand Down
8 changes: 5 additions & 3 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ source:
build:
script:
- cmake -GNinja -S $SRC_DIR -B build -DCMAKE_INSTALL_PREFIX=$PREFIX {{ common_flags }} # [unix]
- cmake -GNinja -S %SRC_DIR% -B build -DCMAKE_INSTALL_PREFIX=%PREFIX% {{ common_flags }} # [win]
- cmake -GNinja -S %SRC_DIR% -B build -DCMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% {{ common_flags }} # [win]
- cmake --build build -j
- cmake --install build
- VTKm_DIR=$PREFIX cmake -GNinja -S $SRC_DIR/examples/smoke_test/ -B smoke_test_build # [unix]
- cmake --build smoke_test_build # [unix]
- ./smoke_test_build/smoke_test # [unix]
number: 0
number: 1
run_exports:
- {{ pin_subpackage(name|lower, max_pin='x.x') }}

Expand All @@ -65,8 +65,10 @@ test:
{% for module in vtkm_modules %}
- test -f $PREFIX/lib/libvtkm_{{ module }}-{{ soversion }}.so.{{ version }} # [linux]
- test -f $PREFIX/lib/libvtkm_{{ module }}-{{ soversion }}.{{ version }}.dylib # [osx]
- if not exist %PREFIX%\bin\vtkm_{{ module }}-{{ soversion }}.dll exit 1 # [win]
- if not exist %LIBRARY_PREFIX%\bin\vtkm_{{ module }}-{{ soversion }}.dll exit 1 # [win]
- if not exist %LIBRARY_PREFIX%\lib\vtkm_{{ module }}-{{ soversion }}.lib exit 1 # [win]
{% endfor %}
- if not exist %LIBRARY_PREFIX%\include\vtkm-{{ soversion }} exit 1 # [win]

about:
home: https://m.vtk.org/
Expand Down