Skip to content

Commit

Permalink
try windows
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfv committed Sep 22, 2020
1 parent 0d9c59f commit 1fff09e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 39 deletions.
20 changes: 0 additions & 20 deletions recipe/add-pragma-unused-variable.patch

This file was deleted.

3 changes: 3 additions & 0 deletions recipe/bld.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
win32\configure.bat
nmake
nmake install
32 changes: 13 additions & 19 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% set name = "ruby" %}
{% set version = "2.6.6" %}
{% set version = "2.7.1" %}
{% set major_minor = '.'.join(version.split('.')[0:2]) %}

package:
Expand All @@ -10,19 +10,11 @@ source:
url: https://cache.ruby-lang.org/pub/ruby/{{ major_minor }}/ruby-{{ version }}.tar.gz
sha256: 364b143def360bac1b74eb56ed60b1a0dca6439b00157ae11ff77d5cd2e92291
patches:
# This patch undoes the libtool ARFLAGS modification in 2.6.x
# It was created by undoing the following two commits from ruby/ruby
# - https://github.com/ruby/ruby/commit/2627c19d82252f2bb571f6bcb44e359cacefa92b
# - https://github.com/ruby/ruby/commit/bf87195ea37d9607e21e50a1e7df63a2cdd6451f
- undo-libtool.patch # [osx]

# Patches/work-a-rounds for passing make check
- add-pragma-unused-variable.patch
- disable-backtrace-with-lines.patch

build:
number: 0
skip: True # [win]
track_features:
- rb{{ major_minor | replace(".", "") }}
run_exports:
Expand All @@ -35,18 +27,18 @@ requirements:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- autoconf
- automake
- make
- pkg-config
- autoconf # [unix]
- automake # [unix]
- make # [unix]
- pkg-config # [unix]
host:
- gdbm # [x86]
- gettext # [osx]
- gmp
- gdbm # [x86 and unix]
- gettext # [osx]
- gmp # [unix]
- libffi
- ncurses
- ncurses # [unix]
- openssl
- readline
- readline # [unix]
- yaml
- zlib
run:
Expand All @@ -70,7 +62,7 @@ test:
# Tests it can build libraries with native dependencies
- cd native
- ruby config.rb
- make
- make
- ruby -r ./hello.so -e 'hello'

about:
Expand All @@ -90,3 +82,5 @@ extra:
- scopatz
- jimmynguyc
- sodre
- wolfv
- timsnyder

0 comments on commit 1fff09e

Please sign in to comment.