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

catboost-cli(formula): 1.2.7 #112

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
11 changes: 8 additions & 3 deletions Formula/catboost-cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
desc "Fast, scalable, high performance Gradient Boosting on Decision Trees cli tool"
homepage "https://catboost.ai"
url "https://github.com/catboost/catboost.git",
tag: "v1.2.5",
revision: "2605fe627ed4271aa8a87ff3564fb68de5f116f0"
tag: "v1.2.7",
revision: "f903943a8cd903a117c3d3c8421cc72d3910562c"
license "Apache-2.0"
head "https://github.com/catboost/catboost.git", branch: "master"

Expand All @@ -37,18 +37,23 @@

uses_from_macos "llvm" => :build

on_linux do
depends_on "lld"
end

resource "testdata" do
url "https://github.com/catboost/tutorials.git",
branch: "master",
revision: "b85bed6b57feafc84e3984872260f9888c9f3bae"
end

def install

Check failure on line 50 in Formula/catboost-cli.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-22.04)

`brew install --verbose --formula --build-bottle cdalvaro/tap/catboost-cli` failed on Linux!

[3952/4111] Linking CXX static library catboost/private/libs/algo_helpers/libprivate-libs-algo_helpers.a [3953/4111] Building CXX object catboost/private/libs/functools/CMakeFiles/private-libs-functools.dir/forward_as_const.cpp.o FAILED: catboost/private/libs/functools/CMakeFiles/private-libs-functools.dir/forward_as_const.cpp.o /home/linuxbrew/.linuxbrew/bin/clang++ -DARCADIA_BUILD_ROOT=/tmp/catboost-cli-20241208-12265-h23rh3/cmake-build -DARCADIA_ROOT=/tmp/catboost-cli-20241208-12265-h23rh3 -DCATBOOST_OPENSOURCE=yes -I/tmp/catboost-cli-20241208-12265-h23rh3 -I/tmp/catboost-cli-20241208-12265-h23rh3/cmake-build -I/tmp/catboost-cli-20241208-12265-h23rh3/contrib/libs/linux-headers -I/tmp/catboost-cli-20241208-12265-h23rh3/contrib/libs/linux-headers/_nf -I/tmp/catboost-cli-20241208-12265-h23rh3/contrib/libs/cxxsupp/libcxx/include -I/tmp/catboost-cli-20241208-12265-h23rh3/contrib/libs/cxxsupp/libcxxrt/include -I/tmp/catboost-cli-20241208-12265-h23rh3/contrib/libs/clang16-rt/include -I/tmp/catboost-cli-20241208-12265-h23rh3/contrib/libs/zlib/include -I/tmp/catboost-cli-20241208-12265-h23rh3/contrib/libs/double-conversion -I/tmp/catboost-cli-20241208-12265-h23rh3/contrib/libs/libc_compat/include/readpassphrase -I/tmp/catboost-cli-20241208-12265-h23rh3/contrib/libs/libc_compat/reallocarray -I/tmp/catboost-cli-20241208-12265-h23rh3/contrib/libs/libc_compat/random -fexceptions -fno-common -fcolor-diagnostics -faligned-allocation -fdebug-default-version=4 -ffunction-sections -fdata-sections -Wall -Wextra -Wno-parentheses -Wno-implicit-const-int-float-conversion -Wno-unknown-warning-option -pipe -D_THREAD_SAFE -D_PTHREADS -D_REENTRANT -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__LONG_LONG_SUPPORTED -D_GNU_SOURCE -DLIBCXX_BUILDING_LIBCXXRT -fuse-init-array -D_FILE_OFFSET_BITS=64 -m64 -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mpopcnt -mcx16 -D_YNDX_LIBUNWIND_ENABLE_EXCEPTION_BACKTRACE -Woverloaded-virtual -Wimport-preprocessor-directive-pedantic -Wno-undefined-var-template -Wno-return-std-move -Wno-defaulted-function-deleted -Wno-pessimizing-move -Wno-deprecated-anon-enum-enum-conversion -Wno-deprecated-enum-enum-conversion -Wno-deprecated-enum-float-conversion -Wno-ambiguous-reversed-operator -Wno-deprecated-volatile -DSSE_ENABLED=1 -DSSE3_ENABLED=1 -DSSSE3_ENABLED=1 -DSSE41_ENABLED=1 -DSSE42_ENABLED=1 -DPOPCNT_ENABLED=1 -DCX16_ENABLED=1 -O3 -DNDEBUG -std=c++20 -fPIC -DLIBCXX_BUILDING_LIBCXXRT -nostdinc++ -D_libunwind_ -MD -MT catboost/private/libs/functools/CMakeFiles/private-libs-functools.dir/forward_as_const.cpp.o -MF catboost/private/libs/functools/CMakeFiles/private-libs-functools.dir/forward_as_const.cpp.o.d -o catboost/private/libs/functools/CMakeFiles/private-libs-functools.dir/forward_as_const.cpp.o -c /tmp/catboost-cli-20241208-12265-h23rh3/catboost/private/libs/functools/forward_as_const.cpp In file included from /tmp/catboost-cli-20241208-12265-h23rh3/catboost/private/libs/functools/forward_as_const.cpp:1: /tmp/catboost-cli-20241208-12265-h23rh3/catboost/private/libs/functools/forward_as_const.h:107:42: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw] 107 | return TParent::template ForwardSelfAsConst( | ^ 1 error generated. [3954/4111] Building CXX object catboost/private/libs/algo/approx_calcer/CMakeFiles/libs-algo-approx_calcer.dir/approx_calcer_multi.cpp.o [3955/4111] Building CXX object catboost/private/libs/algo/approx_calcer/CMakeFiles/libs-algo-approx_calcer.dir/eval_additive_metric_with_leaves.cpp.o [3956/4111] Building CXX object catboost/private/libs/algo/approx_calcer/CMakeFiles/libs-algo-approx_calcer.dir/leafwise_approx_calcer.cpp.o ninja: build stopped: subcommand failed. ==> Formula Tap: cdalvaro/tap Path: /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/cdalvaro/homebrew-tap/Formula/catboost
Utils.add_clang_version_to_conan_settings(Formula["llvm"].version.major.to_s) if ENV.key?("GITHUB_ACTIONS")

args = [
"-DCATBOOST_COMPONENTS=app",
"-DHAVE_CUDA=NO",
"-DCMAKE_POSITION_INDEPENDENT_CODE=On",
"-DHAVE_CUDA=no",
"-DCMAKE_TOOLCHAIN_FILE=#{buildpath}/build/toolchains/clang.toolchain",
]

Expand Down
Loading