Skip to content

Commit ad107c2

Browse files
authored
Merge pull request #67 from hcho3/rapidsai
Merge `conda-forge/main` into `rapidsai/main`
2 parents 9b6bce7 + 3733e56 commit ad107c2

File tree

6 files changed

+10
-255
lines changed

6 files changed

+10
-255
lines changed

recipe/install-r-xgboost.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
#!/bin/bash
22

33
pushd ${SRC_DIR}/R-package
4-
# Remove src/Makevars.win because it says:
5-
# This file is only used for windows compilation from github
6-
# It will be replaced with Makevars.in for the CRAN version
7-
# rm src/Makevars.win
8-
${R} CMD INSTALL --preclean --build . --configure-args="CXXFLAGS=-D_LIBCPP_DISABLE_AVAILABILITY" ${R_ARGS}
4+
${R} CMD INSTALL --preclean --build . ${R_ARGS}
95
popd

recipe/meta.yaml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% set name = "xgboost" %}
2-
{% set version = "2.1.0" %}
3-
{% set build_number = 1 %}
2+
{% set version = "2.1.1" %}
3+
{% set build_number = 0 %}
44
{% set min_python = "3.8" %}
55

66
package:
@@ -9,13 +9,10 @@ package:
99

1010
source:
1111
url: https://github.com/dmlc/xgboost/releases/download/v{{ version }}/xgboost-{{ version }}.tar.gz
12-
sha256: 28bec8e821b1fefcea722d96add66024adba399063f723bc5c815f7af4a5f5e4
12+
sha256: a47ca87f3345d2a866cd7ec40933564aa2b7250592d0e9bf613951630fc1fa6f
1313
patches:
1414
# xgboost patches
15-
- patches/0001-Force-endian-flag-in-cross-compilation-mode.patch # [arm64 or aarch64 or ppc64le]
16-
- patches/0002-Enable-latest-libcxx-on-MacOS.patch # [osx]
17-
- patches/0003-Use-mingw-w64-path.patch
18-
- patches/0004-Backport-fixes.patch
15+
- patches/0001-Enable-latest-libcxx-on-MacOS.patch # [osx]
1916

2017
build:
2118
number: {{ build_number }}
@@ -26,11 +23,12 @@ build:
2623
# Windows CUDA 11.8 fails due to a compilation error
2724
# xref: https://github.com/conda-forge/xgboost-feedstock/issues/173
2825
{% if python is defined and cuda_compiler_version is defined %}
29-
skip: {{ (
26+
skip: >-
27+
{{ (
3028
((linux or win) and cuda_compiler_version == "None") or
3129
python.split(".")[:2] != min_python.split(".")[:2] or
3230
(win and cuda_compiler_version == "11.8")
33-
) }}
31+
) }}
3432
{% endif %}
3533

3634
requirements:
@@ -55,7 +53,7 @@ outputs:
5553
script: install-libxgboost.sh # [not win]
5654
script: install-win-wrapper.bat # [win]
5755
build:
58-
activate_in_script: True
56+
activate_in_script: true
5957
string: rapidsai_h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}
6058
ignore_run_exports_from:
6159
- {{ compiler('cuda') }} # [(cuda_compiler_version or "").startswith("11")]
@@ -155,7 +153,7 @@ outputs:
155153
script: install-r-xgboost.sh # [not win]
156154
script: install-r-xgboost.bat # [win]
157155
build:
158-
skip: True # [r_base in ("4.1", "4.2") or win]
156+
skip: true # [r_base in ("4.1", "4.2") or win]
159157
string: rapidsai_r{{ r_base | replace('.', '') }}h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}
160158
rpaths:
161159
- lib/R/lib

recipe/patches/0001-Force-endian-flag-in-cross-compilation-mode.patch

Lines changed: 0 additions & 55 deletions
This file was deleted.

recipe/patches/0003-Use-mingw-w64-path.patch

Lines changed: 0 additions & 41 deletions
This file was deleted.

recipe/patches/0004-Backport-fixes.patch

Lines changed: 0 additions & 143 deletions
This file was deleted.

0 commit comments

Comments
 (0)