Skip to content

Commit

Permalink
Update SLiM to version 4.3 (#27)
Browse files Browse the repository at this point in the history
automerged PR by conda-forge/automerge-action
  • Loading branch information
github-actions[bot] authored Sep 17, 2024
2 parents 768d384 + 565a2f6 commit fb6c167
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
2 changes: 2 additions & 0 deletions .ci_support/win_64_.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
c_stdlib:
- vs
channel_sources:
- conda-forge
channel_targets:
Expand Down
13 changes: 8 additions & 5 deletions recipe/bld.bat
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
@echo on

setlocal EnableDelayedExpansion

mkdir build
cd build

:: Work around bug in mingw (we're stuck at gcc 5.3.0).
:: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52991
set EXTRA_FLAGS="-mno-ms-bitfields"
set "HOST=x86_64-w64-mingw32"
set "CC=%HOST%-gcc.exe"
set "CXX=%HOST%-g++.exe"
set "AR=%HOST%-gcc-ar.exe"
set "RANLIB=%HOST%-gcc-ranlib.exe"

cmake -G "MSYS Makefiles" ^
%CMAKE_ARGS% ^
-DCMAKE_INSTALL_PREFIX:PATH="%LIBRARY_PREFIX%" ^
-DCMAKE_PREFIX_PATH:PATH="%LIBRARY_PREFIX%" ^
-DCMAKE_BUILD_TYPE:STRING=Release ^
-DCMAKE_CXX_STANDARD_LIBRARIES:STRING="-lpsapi" ^
-DCMAKE_C_FLAGS="%EXTRA_FLAGS%" ^
-DCMAKE_CXX_FLAGS="%EXTRA_FLAGS%" ^
..
if errorlevel 1 exit 1

Expand Down
8 changes: 5 additions & 3 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{% set name = "SLiM" %}
{% set version = "4.2.2" %}
{% set version = "4.3" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://github.com/MesserLab/SLiM/archive/v{{ version }}.tar.gz
sha256: bb63b73e878fb6c15a49f33c3bf1a67047ebb6a11e3d17f930780461dd450400
sha256: b390a6638a915d6f955608610bca6e94fc0f4d62f5ad07376b2aa98756e8c81d

build:
number: 1
number: 2

requirements:
build:
Expand All @@ -23,6 +23,8 @@ requirements:
- {{ compiler('m2w64_c') }} # [win]
- {{ stdlib("m2w64_c") }} # [win]
- {{ compiler('m2w64_cxx') }} # [win]
# Uses stdlibc; see https://conda-forge.org/news/2024/03/24/stdlib-migration/
- {{ stdlib("c") }}
# Full posix environment.
- m2-base # [win]

Expand Down

0 comments on commit fb6c167

Please sign in to comment.