Compare commits
4 Commits
Author | SHA256 | Date | |
---|---|---|---|
b40fc75c64 | |||
4815b8a61a | |||
257701d315 | |||
6a67ce6be9 |
@@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 7 12:24:43 UTC 2025 - Simon Lees <sflees@suse.de>
|
||||||
|
|
||||||
|
- export CMAKE_POLICY_VERSION_MINIMUM="3.5" to ignore cmakes
|
||||||
|
minimum version warnings
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 28 13:09:49 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Remove bogus dependencies
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Feb 21 16:21:26 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
Wed Feb 21 16:21:26 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
10
xgboost.spec
10
xgboost.spec
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package xgboost
|
# spec file for package xgboost
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -32,18 +32,15 @@ Patch0: xgboost-fix-big-endian.patch
|
|||||||
Patch1: no-hadoop.patch
|
Patch1: no-hadoop.patch
|
||||||
Patch2: xgboost-2.0.0-python34.patch
|
Patch2: xgboost-2.0.0-python34.patch
|
||||||
Patch3: xgboost-2.0.0-cmake.patch
|
Patch3: xgboost-2.0.0-cmake.patch
|
||||||
BuildRequires: akka
|
|
||||||
BuildRequires: ant
|
BuildRequires: ant
|
||||||
BuildRequires: apache-commons-logging
|
BuildRequires: apache-commons-logging
|
||||||
BuildRequires: cmake >= 3.5
|
BuildRequires: cmake >= 3.5
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: javapackages-local >= 6
|
BuildRequires: javapackages-local >= 6
|
||||||
BuildRequires: kryo
|
BuildRequires: kryo
|
||||||
BuildRequires: objenesis
|
|
||||||
BuildRequires: python3
|
BuildRequires: python3
|
||||||
BuildRequires: scala
|
BuildRequires: scala
|
||||||
BuildRequires: scala-ant
|
BuildRequires: scala-ant
|
||||||
BuildRequires: typesafe-config
|
|
||||||
%if 0%{?suse_version} <= 1500
|
%if 0%{?suse_version} <= 1500
|
||||||
BuildRequires: gcc8-c++ >= 8.1
|
BuildRequires: gcc8-c++ >= 8.1
|
||||||
%else
|
%else
|
||||||
@@ -76,6 +73,9 @@ cp %{SOURCE1} jvm-packages/%{artifactId}/build.xml
|
|||||||
%pom_remove_dep ":scala-collection-compat_\${scala.binary.version}" jvm-packages/%{artifactId}
|
%pom_remove_dep ":scala-collection-compat_\${scala.binary.version}" jvm-packages/%{artifactId}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
# Remove cmake4 error due to not setting
|
||||||
|
# min cmake version - sflees.de
|
||||||
|
export CMAKE_POLICY_VERSION_MINIMUM=3.5
|
||||||
pushd jvm-packages
|
pushd jvm-packages
|
||||||
%if 0%{?suse_version} <= 1500
|
%if 0%{?suse_version} <= 1500
|
||||||
export CC=gcc-8
|
export CC=gcc-8
|
||||||
@@ -87,7 +87,7 @@ python3 create_jni.py
|
|||||||
popd
|
popd
|
||||||
pushd jvm-packages/%{artifactId}
|
pushd jvm-packages/%{artifactId}
|
||||||
mkdir -p lib
|
mkdir -p lib
|
||||||
build-jar-repository -s lib akka kryo commons-logging scala typesafe-config objenesis/objenesis
|
build-jar-repository -s lib kryo commons-logging scala
|
||||||
%{ant} jar javadoc
|
%{ant} jar javadoc
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user