public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/xtl] epel10: Initial import (#1558473).
Date: Sat, 11 Jul 2026 22:45:24 GMT [thread overview]
Message-ID: <178380992440.1.17370437417336079901.rpms-xtl-12f93065e13f@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/xtl
Branch : epel10
Commit : 12f93065e13ff3f14db1296288c68e19c0049181
Author : Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date : 2018-05-03T22:17:05-04:00
Stats : +117/-3 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/xtl/c/12f93065e13ff3f14db1296288c68e19c0049181?branch=epel10
Log:
Initial import (#1558473).
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..6aa0ad3
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/xtl-0.4.4.tar.gz
diff --git a/0001-Remove-march-native-flag.patch b/0001-Remove-march-native-flag.patch
new file mode 100644
index 0000000..3177918
--- /dev/null
+++ b/0001-Remove-march-native-flag.patch
@@ -0,0 +1,28 @@
+From bf37aab2b70905fd48ca3a11c92c8ca0e145cc74 Mon Sep 17 00:00:00 2001
+From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
+Date: Tue, 20 Mar 2018 05:15:08 -0400
+Subject: [PATCH] Remove march=native flag.
+
+Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
+---
+ test/CMakeLists.txt | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
+index 259cddc..23b1c5f 100644
+--- a/test/CMakeLists.txt
++++ b/test/CMakeLists.txt
+@@ -23,8 +23,8 @@ include(CheckCXXCompilerFlag)
+ string(TOUPPER "${CMAKE_BUILD_TYPE}" U_CMAKE_BUILD_TYPE)
+
+ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES "Intel")
+- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native -Wunused-parameter -Wextra -Wreorder -Wconversion -Wsign-conversion")
+- #set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native -Wunused-parameter -Wextra -Wreorder -Wconversion")
++ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wunused-parameter -Wextra -Wreorder -Wconversion -Wsign-conversion")
++ #set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wunused-parameter -Wextra -Wreorder -Wconversion")
+ CHECK_CXX_COMPILER_FLAG("-std=c++14" HAS_CPP14_FLAG)
+
+ if (HAS_CPP14_FLAG)
+--
+2.14.3
+
diff --git a/README.md b/README.md
deleted file mode 100644
index e3a5b01..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# xtl
-
-The xtl package
\ No newline at end of file
diff --git a/sources b/sources
new file mode 100644
index 0000000..f909fd9
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (xtl-0.4.4.tar.gz) = 6f480081a83912c59c529d54dd036197d998346929f6cc79382515c9c1bc7ef7fc1439b7fe73d75748a7eb972e4799a13e33ad2a159c2f5ad7c0a51be0f30eda
diff --git a/xtl.spec b/xtl.spec
new file mode 100644
index 0000000..5c5c5a0
--- /dev/null
+++ b/xtl.spec
@@ -0,0 +1,87 @@
+# Header-only library.
+%global debug_package %{nil}
+
+Name: xtl
+Version: 0.4.4
+Release: 2%{?dist}
+License: BSD
+Summary: QuantStack tools library
+Url: https://github.com/QuantStack/xtl
+Source0: https://github.com/QuantStack/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
+# Just used in testing, and it breaks on some arches.
+Patch0001: 0001-Remove-march-native-flag.patch
+
+BuildRequires: binutils
+BuildRequires: cmake
+BuildRequires: diffutils
+BuildRequires: doxygen
+BuildRequires: gcc-c++
+BuildRequires: gtest-devel
+BuildRequires: make
+BuildRequires: python3-breathe
+BuildRequires: python3-sphinx
+BuildRequires: python3-sphinx_rtd_theme
+
+%description
+Basic tools (containers, algorithms) used by other QuantStack packages.
+
+
+%package devel
+Summary: %{summary}
+Provides: xtl-static = %{version}-%{release}
+Requires: cmake-filesystem
+
+%description devel
+Development files for %{name} library.
+
+
+%package doc
+Summary: %{summary}
+
+%description doc
+Documentation files for %{name} library.
+
+
+%prep
+%autosetup -p1
+
+
+%build
+%cmake -DBUILD_TESTS=ON
+%make_build
+
+pushd docs
+make html SPHINXBUILD=sphinx-build-3
+rm build/html/.buildinfo
+popd
+
+
+%install
+%make_install
+
+
+%check
+# https://github.com/QuantStack/xtl/issues/72
+%ifarch ppc64 s390x
+export GTEST_FILTER=-hash.verification
+%endif
+make xtest
+
+
+%files devel
+%doc README.md
+%license LICENSE
+%{_includedir}/xtl/
+%{_libdir}/cmake/xtl/
+
+%files doc
+%doc docs/build/html
+
+
+%changelog
+* Wed Mar 21 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.4.4-2
+- Split documentation into subpackage
+- Run more tests on broken arches
+
+* Mon Mar 19 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.4.4-1
+- Initial package for Fedora
reply other threads:[~2026-07-11 22:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178380992440.1.17370437417336079901.rpms-xtl-12f93065e13f@fedoraproject.org \
--to=quantum.analyst@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox