Unverified Commit 63c82879 authored by Guolin Ke's avatar Guolin Ke Committed by GitHub
Browse files

v3.0.0rc1 (#3071)



* Update VERSION.txt

* Update VERSION.txt

* Update setup.py

* Update VERSION.txt

* Update setup.py

* Update VERSION.txt

* Update .appveyor.yml

* Update DESCRIPTION

* Apply suggestions from code review

* Apply suggestions from code review

* Update DESCRIPTION

* Apply suggestions from code review

* Create VERSION.txt

* Apply suggestions from code review

* Update .gitignore

* Update recreate-configure.sh

* Update test_r_package.sh

* Update build-cran-package.sh

* Delete VERSION.txt

* Create VERSION.txt

* Update main.yml

* Update test_r_package_windows.ps1

* Update configure

* Update test_r_package_windows.ps1

* Update test_r_package.sh

* Delete VERSION.txt

* Apply suggestions from code review

* update configure.ac
Co-authored-by: default avatarJames Lamb <jaylamb20@gmail.com>
parent 53c64bac
version: 2.3.2.{build} version: 3.0.0rc1.{build}
image: Visual Studio 2015 image: Visual Studio 2015
platform: x64 platform: x64
......
...@@ -125,7 +125,7 @@ fi ...@@ -125,7 +125,7 @@ fi
cd ${BUILD_DIRECTORY} cd ${BUILD_DIRECTORY}
PKG_TARBALL="lightgbm_${LGB_VER}.tar.gz" PKG_TARBALL="lightgbm_*.tar.gz"
LOG_FILE_NAME="lightgbm.Rcheck/00check.log" LOG_FILE_NAME="lightgbm.Rcheck/00check.log"
if [[ $R_BUILD_TYPE == "cmake" ]]; then if [[ $R_BUILD_TYPE == "cmake" ]]; then
Rscript build_r.R --skip-install || exit -1 Rscript build_r.R --skip-install || exit -1
...@@ -134,7 +134,6 @@ elif [[ $R_BUILD_TYPE == "cran" ]]; then ...@@ -134,7 +134,6 @@ elif [[ $R_BUILD_TYPE == "cran" ]]; then
# on Linux, we recreate configure in CI to test if # on Linux, we recreate configure in CI to test if
# a change in a PR has changed configure.ac # a change in a PR has changed configure.ac
if [[ $OS_NAME == "linux" ]]; then if [[ $OS_NAME == "linux" ]]; then
cp VERSION.txt R-package/src/VERSION.txt
cd ${BUILD_DIRECTORY}/R-package cd ${BUILD_DIRECTORY}/R-package
autoconf \ autoconf \
--output configure \ --output configure \
......
...@@ -82,7 +82,6 @@ if (($env:COMPILER -eq "MINGW") -and ($env:R_BUILD_TYPE -eq "cmake")) { ...@@ -82,7 +82,6 @@ if (($env:COMPILER -eq "MINGW") -and ($env:R_BUILD_TYPE -eq "cmake")) {
cd $env:BUILD_SOURCESDIRECTORY cd $env:BUILD_SOURCESDIRECTORY
tzutil /s "GMT Standard Time" tzutil /s "GMT Standard Time"
[Void][System.IO.Directory]::CreateDirectory($env:R_LIB_PATH) [Void][System.IO.Directory]::CreateDirectory($env:R_LIB_PATH)
$env:LGB_VER = Get-Content -Path VERSION.txt -TotalCount 1
if ($env:R_BUILD_TYPE -eq "cmake") { if ($env:R_BUILD_TYPE -eq "cmake") {
if ($env:TOOLCHAIN -eq "MINGW") { if ($env:TOOLCHAIN -eq "MINGW") {
...@@ -142,7 +141,7 @@ Write-Output "Building R package" ...@@ -142,7 +141,7 @@ Write-Output "Building R package"
# R CMD check is not used for MSVC builds # R CMD check is not used for MSVC builds
if ($env:COMPILER -ne "MSVC") { if ($env:COMPILER -ne "MSVC") {
$PKG_FILE_NAME = "lightgbm_$env:LGB_VER.tar.gz" $PKG_FILE_NAME = "lightgbm_*.tar.gz"
$LOG_FILE_NAME = "lightgbm.Rcheck/00check.log" $LOG_FILE_NAME = "lightgbm.Rcheck/00check.log"
if ($env:R_BUILD_TYPE -eq "cmake") { if ($env:R_BUILD_TYPE -eq "cmake") {
......
...@@ -137,7 +137,6 @@ jobs: ...@@ -137,7 +137,6 @@ jobs:
export CONDA_ENV="test-env" export CONDA_ENV="test-env"
export CONDA="$HOME/miniconda" export CONDA="$HOME/miniconda"
export PATH="$CONDA/bin:${HOME}/.local/bin:$PATH" export PATH="$CONDA/bin:${HOME}/.local/bin:$PATH"
export LGB_VER=$(head -n 1 VERSION.txt)
export R_VERSION="${{ matrix.r_version }}" export R_VERSION="${{ matrix.r_version }}"
export R_BUILD_TYPE="${{ matrix.build_type }}" export R_BUILD_TYPE="${{ matrix.build_type }}"
$GITHUB_WORKSPACE/.ci/setup.sh $GITHUB_WORKSPACE/.ci/setup.sh
......
Package: lightgbm Package: lightgbm
Type: Package Type: Package
Title: Light Gradient Boosting Machine Title: Light Gradient Boosting Machine
Version: 2.3.2 Version: 3.0.0-1
Date: 2019-11-26 Date: 2020-08-06
Authors@R: c( Authors@R: c(
person("Guolin", "Ke", email = "guolin.ke@microsoft.com", role = c("aut", "cre")), person("Guolin", "Ke", email = "guolin.ke@microsoft.com", role = c("aut", "cre")),
person("Damien", "Soukhavong", email = "damien.soukhavong@skema.edu", role = c("ctb")), person("Damien", "Soukhavong", email = "damien.soukhavong@skema.edu", role = c("ctb")),
......
#! /bin/sh #! /bin/sh
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for lightgbm 2.3.2. # Generated by GNU Autoconf 2.69 for lightgbm 3.0.0-1.
# #
# #
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
...@@ -576,8 +576,8 @@ MAKEFLAGS= ...@@ -576,8 +576,8 @@ MAKEFLAGS=
# Identity of this package. # Identity of this package.
PACKAGE_NAME='lightgbm' PACKAGE_NAME='lightgbm'
PACKAGE_TARNAME='lightgbm' PACKAGE_TARNAME='lightgbm'
PACKAGE_VERSION='2.3.2' PACKAGE_VERSION='3.0.0-1'
PACKAGE_STRING='lightgbm 2.3.2' PACKAGE_STRING='lightgbm 3.0.0-1'
PACKAGE_BUGREPORT='' PACKAGE_BUGREPORT=''
PACKAGE_URL='' PACKAGE_URL=''
...@@ -1182,7 +1182,7 @@ if test "$ac_init_help" = "long"; then ...@@ -1182,7 +1182,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing. # Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh. # This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF cat <<_ACEOF
\`configure' configures lightgbm 2.3.2 to adapt to many kinds of systems. \`configure' configures lightgbm 3.0.0-1 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]... Usage: $0 [OPTION]... [VAR=VALUE]...
...@@ -1244,7 +1244,7 @@ fi ...@@ -1244,7 +1244,7 @@ fi
if test -n "$ac_init_help"; then if test -n "$ac_init_help"; then
case $ac_init_help in case $ac_init_help in
short | recursive ) echo "Configuration of lightgbm 2.3.2:";; short | recursive ) echo "Configuration of lightgbm 3.0.0-1:";;
esac esac
cat <<\_ACEOF cat <<\_ACEOF
...@@ -1311,7 +1311,7 @@ fi ...@@ -1311,7 +1311,7 @@ fi
test -n "$ac_init_help" && exit $ac_status test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then if $ac_init_version; then
cat <<\_ACEOF cat <<\_ACEOF
lightgbm configure 2.3.2 lightgbm configure 3.0.0-1
generated by GNU Autoconf 2.69 generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc. Copyright (C) 2012 Free Software Foundation, Inc.
...@@ -1328,7 +1328,7 @@ cat >config.log <<_ACEOF ...@@ -1328,7 +1328,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake. running configure, to aid debugging if configure makes a mistake.
It was created by lightgbm $as_me 2.3.2, which was It was created by lightgbm $as_me 3.0.0-1, which was
generated by GNU Autoconf 2.69. Invocation command line was generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@ $ $0 $@
...@@ -2377,7 +2377,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ...@@ -2377,7 +2377,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their # report actual input values of CONFIG_FILES etc. instead of their
# values after options handling. # values after options handling.
ac_log=" ac_log="
This file was extended by lightgbm $as_me 2.3.2, which was This file was extended by lightgbm $as_me 3.0.0-1, which was
generated by GNU Autoconf 2.69. Invocation command line was generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES CONFIG_FILES = $CONFIG_FILES
...@@ -2430,7 +2430,7 @@ _ACEOF ...@@ -2430,7 +2430,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\ ac_cs_version="\\
lightgbm config.status 2.3.2 lightgbm config.status 3.0.0-1
configured by $0, generated by GNU Autoconf 2.69, configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\" with options \\"\$ac_cs_config\\"
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
# * https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Configure-and-cleanup # * https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Configure-and-cleanup
AC_PREREQ(2.69) AC_PREREQ(2.69)
AC_INIT([lightgbm], [m4_esyscmd_s([cat src/VERSION.txt])], [], [lightgbm], []) AC_INIT([lightgbm], [3.0.0-1], [], [lightgbm], [])
########################### ###########################
# find compiler and flags # # find compiler and flags #
......
...@@ -12,7 +12,6 @@ apt-get install \ ...@@ -12,7 +12,6 @@ apt-get install \
-y \ -y \
autoconf=${AUTOCONF_VERSION} autoconf=${AUTOCONF_VERSION}
cp VERSION.txt R-package/src/
cd R-package cd R-package
autoconf \ autoconf \
--output configure \ --output configure \
......
...@@ -21,7 +21,6 @@ mkdir -p ${TEMP_R_DIR} ...@@ -21,7 +21,6 @@ mkdir -p ${TEMP_R_DIR}
cp -R R-package/* ${TEMP_R_DIR} cp -R R-package/* ${TEMP_R_DIR}
cp -R include ${TEMP_R_DIR}/src/ cp -R include ${TEMP_R_DIR}/src/
cp -R src/* ${TEMP_R_DIR}/src/ cp -R src/* ${TEMP_R_DIR}/src/
cp VERSION.txt ${TEMP_R_DIR}/src/
cd ${TEMP_R_DIR} cd ${TEMP_R_DIR}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment