From a2860bfe2e5818549d659b2e07def388663235f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20=C3=81lvaro?= Date: Sun, 29 Sep 2024 20:15:33 +0200 Subject: [PATCH] catboost-cli(formula): 1.2.7 --- Formula/catboost-cli.rb | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Formula/catboost-cli.rb b/Formula/catboost-cli.rb index b783dae..f3a9965 100644 --- a/Formula/catboost-cli.rb +++ b/Formula/catboost-cli.rb @@ -18,8 +18,8 @@ class CatboostCli < Formula 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" @@ -37,6 +37,10 @@ class CatboostCli < Formula uses_from_macos "llvm" => :build + on_linux do + depends_on "lld" + end + resource "testdata" do url "https://github.com/catboost/tutorials.git", branch: "master", @@ -48,7 +52,8 @@ def install args = [ "-DCATBOOST_COMPONENTS=app", - "-DHAVE_CUDA=NO", + "-DCMAKE_POSITION_INDEPENDENT_CODE=On", + "-DHAVE_CUDA=no", "-DCMAKE_TOOLCHAIN_FILE=#{buildpath}/build/toolchains/clang.toolchain", ]