The package rpms/xtl.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/xtl.git/commit/?id=6241a87eac3f8f...
https://src.fedoraproject.org/cgit/rpms/xtl.git/commit/?id=2bd8eebe774f3a...
https://src.fedoraproject.org/cgit/rpms/xtl.git/commit/?id=12f93065e13ff3....
Change:
-%ifarch ppc64 s390x
+ExcludeArch: armv7hl ppc64le
+%ifarch ppc64 s390x
Thanks.
Full change:
============
commit d6b28c254be56e599ea069320f7316b2f046037d
Merge: 2bd8eeb 90580d8
Author: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
Date: Tue Aug 27 01:58:02 2019 -0400
Merge branch 'f29'
diff --cc xtl.spec
index 9c9fae5,3b6bfca..3398d67
--- a/xtl.spec
+++ b/xtl.spec
@@@ -80,11 -76,8 +80,12 @@@ make xtes
%changelog
- * Tue Aug 27 2019 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.6.4-2
+ * Tue Aug 27 2019 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.6.5-1
+ - Update to latest version
+- Exclude arches that don't work
+
+* Sat Jul 27 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.6.4-2
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Mon Apr 29 2019 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.6.4-1
- Update to latest version
commit 90580d8b77a73636c58c687f9d4f70150327b326
Author: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
Date: Tue Aug 27 01:57:14 2019 -0400
Update to latest version.
diff --git a/.gitignore b/.gitignore
index 289c854..186f3db 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,3 +10,4 @@
/xtl-0.6.2.tar.gz
/xtl-0.6.3.tar.gz
/xtl-0.6.4.tar.gz
+/xtl-0.6.5.tar.gz
diff --git a/sources b/sources
index d743b00..bc1f310 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (xtl-0.6.4.tar.gz) =
92ff932634a88fee9bfd27d092ebdf91752d90be8a4f3fc41aef90c195718c989082e53f1fcfae9d67b153ecd29d3dde6f8e2b540eeec0db1d0d229a9b0d2fe8
+SHA512 (xtl-0.6.5.tar.gz) =
5cecb38696bc89119ba07d46a40dc88a6072fc8f350c2b81d82ba48a1ab7dc2b85a336c247cb67c14cdad1af82d1eb34f55cb3957309cc51e70b94f9451b3287
diff --git a/xtl.spec b/xtl.spec
index 9c872fd..3b6bfca 100644
--- a/xtl.spec
+++ b/xtl.spec
@@ -2,7 +2,7 @@
%global debug_package %{nil}
Name: xtl
-Version: 0.6.4
+Version: 0.6.5
Release: 1%{?dist}
License: BSD
Summary: QuantStack tools library
@@ -76,6 +76,9 @@ make xtest
%changelog
+* Tue Aug 27 2019 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.6.5-1
+- Update to latest version
+
* Mon Apr 29 2019 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.6.4-1
- Update to latest version
commit 2bd8eebe774f3abf2dd2996413f12869f479e0f4
Author: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
Date: Tue Aug 27 01:17:38 2019 -0400
Exclude arches that don't work.
diff --git a/xtl.spec b/xtl.spec
index c77a06d..9c9fae5 100644
--- a/xtl.spec
+++ b/xtl.spec
@@ -11,6 +11,10 @@ Source0:
https://github.com/QuantStack/%{name}/archive/%{version}/%{name}
#
https://github.com/QuantStack/xtl/issues/97
Patch0001: 0001-Fix-complex-test.patch
+#
https://bugzilla.redhat.com/show_bug.cgi?id=1745840
+#
https://bugzilla.redhat.com/show_bug.cgi?id=1745841
+ExcludeArch: armv7hl ppc64le
+
BuildRequires: binutils
BuildRequires: cmake
BuildRequires: doxygen
@@ -76,6 +80,9 @@ make xtest
%changelog
+* Tue Aug 27 2019 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.6.4-2
+- Exclude arches that don't work
+
* Sat Jul 27 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.6.4-2
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
commit 36de6a9b4fbec7a619e6c03a16495ed44e373f15
Author: Tomas Hrcka <thrcka(a)redhat.com>
Date: Mon Aug 19 17:03:29 2019 +0200
Revert "xtl fails to build from source:
https://bugzilla.redhat.com/show_bug.cgi?id=1676253"
This reverts commit 8f9c4a20327134a34533ff5ec27e38c42b4d59ba.
Unretirement issue:
https://pagure.io/releng/issue/8625
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..289c854
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,12 @@
+/xtl-0.4.4.tar.gz
+/xtl-0.4.7.tar.gz
+/xtl-0.4.13.tar.gz
+/xtl-0.4.14.tar.gz
+/xtl-0.4.15.tar.gz
+/xtl-0.5.3.tar.gz
+/xtl-0.5.4.tar.gz
+/xtl-0.6.0.tar.gz
+/xtl-0.6.1.tar.gz
+/xtl-0.6.2.tar.gz
+/xtl-0.6.3.tar.gz
+/xtl-0.6.4.tar.gz
diff --git a/0001-Fix-complex-test.patch b/0001-Fix-complex-test.patch
new file mode 100644
index 0000000..b87df5a
--- /dev/null
+++ b/0001-Fix-complex-test.patch
@@ -0,0 +1,43 @@
+From 517cd4f961c155284916fe393445adbe0e137d2b Mon Sep 17 00:00:00 2001
+From: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
+Date: Wed, 8 Aug 2018 00:03:32 -0400
+Subject: [PATCH 1/2] Fix complex test.
+
+Signed-off-by: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
+---
+ test/test_xcomplex.cpp | 17 +++++++++++++----
+ 1 file changed, 13 insertions(+), 4 deletions(-)
+
+diff --git a/test/test_xcomplex.cpp b/test/test_xcomplex.cpp
+index d238f33..a8a96c9 100644
+--- a/test/test_xcomplex.cpp
++++ b/test/test_xcomplex.cpp
+@@ -253,12 +253,21 @@ namespace xtl
+ TEST(xcomplex, power)
+ {
+ complex_type c(1., 2.);
++ complex_type r, sr;
+ std::complex<double> sc(c);
+ double d = 1.5;
+- EXPECT_EQ(pow(c, c), complex_type(std::pow(sc, sc)));
+- EXPECT_EQ(pow(c, d), complex_type(std::pow(sc, d)));
+- EXPECT_EQ(pow(d, c), complex_type(std::pow(d, sc)));
+- EXPECT_EQ(sqrt(c), complex_type(std::sqrt(sc)));
++#define EXPECT_COMPLEX_EQ(a, b) \
++ do { \
++ r = a; \
++ sr = b; \
++ EXPECT_DOUBLE_EQ(r.real(), sr.real()); \
++ EXPECT_DOUBLE_EQ(r.imag(), sr.imag()); \
++ } while (0)
++ EXPECT_COMPLEX_EQ(pow(c, c), complex_type(std::pow(sc, sc)));
++ EXPECT_COMPLEX_EQ(pow(c, d), complex_type(std::pow(sc, d)));
++ EXPECT_COMPLEX_EQ(pow(d, c), complex_type(std::pow(d, sc)));
++ EXPECT_COMPLEX_EQ(sqrt(c), complex_type(std::sqrt(sc)));
++#undef EXPECT_COMPLEX_EQ
+ }
+
+ TEST(xcomplex, trigonometric)
+--
+2.17.1
+
diff --git a/dead.package b/dead.package
deleted file mode 100644
index f74c628..0000000
--- a/dead.package
+++ /dev/null
@@ -1 +0,0 @@
-xtl fails to build from source:
https://bugzilla.redhat.com/show_bug.cgi?id=1676253
diff --git a/sources b/sources
new file mode 100644
index 0000000..d743b00
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (xtl-0.6.4.tar.gz) =
92ff932634a88fee9bfd27d092ebdf91752d90be8a4f3fc41aef90c195718c989082e53f1fcfae9d67b153ecd29d3dde6f8e2b540eeec0db1d0d229a9b0d2fe8
diff --git a/xtl.spec b/xtl.spec
new file mode 100644
index 0000000..c77a06d
--- /dev/null
+++ b/xtl.spec
@@ -0,0 +1,129 @@
+# Header-only library.
+%global debug_package %{nil}
+
+Name: xtl
+Version: 0.6.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}-%{versio...
+#
https://github.com/QuantStack/xtl/issues/97
+Patch0001: 0001-Fix-complex-test.patch
+
+BuildRequires: binutils
+BuildRequires: cmake
+BuildRequires: doxygen
+BuildRequires: gcc-c++
+BuildRequires: gtest-devel
+BuildRequires: make
+BuildRequires: cmake(nlohmann_json)
+BuildRequires: python3dist(breathe)
+BuildRequires: python3dist(sphinx)
+BuildRequires: python3dist(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
+make xtest
+
+
+%files devel
+%doc README.md
+%license LICENSE
+%{_includedir}/xtl/
+%{_libdir}/cmake/xtl/
+%{_libdir}/pkgconfig/xtl.pc
+
+%files doc
+%doc docs/build/html
+
+
+%changelog
+* Sat Jul 27 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.6.4-2
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
+
+* Mon Apr 29 2019 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.6.4-1
+- Update to latest version
+
+* Wed Apr 10 2019 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.6.3-1
+- Update to latest version
+
+* Sat Apr 06 2019 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.6.2-1
+- Update to latest version
+
+* Tue Mar 26 2019 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.6.1-1
+- Update to latest version
+
+* Fri Mar 08 2019 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.6.0-1
+- Update to latest version
+
+* Wed Feb 13 2019 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.5.4-1
+- Update to latest version
+
+* Sun Feb 03 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.5.3-2
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
+
+* Wed Jan 23 2019 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.5.3-1
+- Update to latest version
+
+* Wed Sep 05 2018 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.4.15-1
+- Update to latest version
+
+* Thu Aug 16 2018 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.4.14-2
+- rebuilt
+
+* Tue Aug 14 2018 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.4.14-1
+- Update to latest version
+
+* Tue Aug 07 2018 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.4.13-1
+- Update to latest version
+
+* Sat Jul 14 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.7-2
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
+* Wed May 02 2018 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> 0.4.7-1
+- Update to latest version
+
+* Wed Mar 21 2018 Elliott Sales de Andrade <quantum.analyst(a)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(a)gmail.com> 0.4.4-1
+- Initial package for Fedora
commit 8f9c4a20327134a34533ff5ec27e38c42b4d59ba
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Thu Aug 8 16:51:33 2019 +0000
xtl fails to build from source:
https://bugzilla.redhat.com/show_bug.cgi?id=1676253
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 289c854..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,12 +0,0 @@
-/xtl-0.4.4.tar.gz
-/xtl-0.4.7.tar.gz
-/xtl-0.4.13.tar.gz
-/xtl-0.4.14.tar.gz
-/xtl-0.4.15.tar.gz
-/xtl-0.5.3.tar.gz
-/xtl-0.5.4.tar.gz
-/xtl-0.6.0.tar.gz
-/xtl-0.6.1.tar.gz
-/xtl-0.6.2.tar.gz
-/xtl-0.6.3.tar.gz
-/xtl-0.6.4.tar.gz
diff --git a/0001-Fix-complex-test.patch b/0001-Fix-complex-test.patch
deleted file mode 100644
index b87df5a..0000000
--- a/0001-Fix-complex-test.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From 517cd4f961c155284916fe393445adbe0e137d2b Mon Sep 17 00:00:00 2001
-From: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
-Date: Wed, 8 Aug 2018 00:03:32 -0400
-Subject: [PATCH 1/2] Fix complex test.
-
-Signed-off-by: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
----
- test/test_xcomplex.cpp | 17 +++++++++++++----
- 1 file changed, 13 insertions(+), 4 deletions(-)
-
-diff --git a/test/test_xcomplex.cpp b/test/test_xcomplex.cpp
-index d238f33..a8a96c9 100644
---- a/test/test_xcomplex.cpp
-+++ b/test/test_xcomplex.cpp
-@@ -253,12 +253,21 @@ namespace xtl
- TEST(xcomplex, power)
- {
- complex_type c(1., 2.);
-+ complex_type r, sr;
- std::complex<double> sc(c);
- double d = 1.5;
-- EXPECT_EQ(pow(c, c), complex_type(std::pow(sc, sc)));
-- EXPECT_EQ(pow(c, d), complex_type(std::pow(sc, d)));
-- EXPECT_EQ(pow(d, c), complex_type(std::pow(d, sc)));
-- EXPECT_EQ(sqrt(c), complex_type(std::sqrt(sc)));
-+#define EXPECT_COMPLEX_EQ(a, b) \
-+ do { \
-+ r = a; \
-+ sr = b; \
-+ EXPECT_DOUBLE_EQ(r.real(), sr.real()); \
-+ EXPECT_DOUBLE_EQ(r.imag(), sr.imag()); \
-+ } while (0)
-+ EXPECT_COMPLEX_EQ(pow(c, c), complex_type(std::pow(sc, sc)));
-+ EXPECT_COMPLEX_EQ(pow(c, d), complex_type(std::pow(sc, d)));
-+ EXPECT_COMPLEX_EQ(pow(d, c), complex_type(std::pow(d, sc)));
-+ EXPECT_COMPLEX_EQ(sqrt(c), complex_type(std::sqrt(sc)));
-+#undef EXPECT_COMPLEX_EQ
- }
-
- TEST(xcomplex, trigonometric)
---
-2.17.1
-
diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..f74c628
--- /dev/null
+++ b/dead.package
@@ -0,0 +1 @@
+xtl fails to build from source:
https://bugzilla.redhat.com/show_bug.cgi?id=1676253
diff --git a/sources b/sources
deleted file mode 100644
index d743b00..0000000
--- a/sources
+++ /dev/null
@@ -1 +0,0 @@
-SHA512 (xtl-0.6.4.tar.gz) =
92ff932634a88fee9bfd27d092ebdf91752d90be8a4f3fc41aef90c195718c989082e53f1fcfae9d67b153ecd29d3dde6f8e2b540eeec0db1d0d229a9b0d2fe8
diff --git a/xtl.spec b/xtl.spec
deleted file mode 100644
index c77a06d..0000000
--- a/xtl.spec
+++ /dev/null
@@ -1,129 +0,0 @@
-# Header-only library.
-%global debug_package %{nil}
-
-Name: xtl
-Version: 0.6.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}-%{versio...
-#
https://github.com/QuantStack/xtl/issues/97
-Patch0001: 0001-Fix-complex-test.patch
-
-BuildRequires: binutils
-BuildRequires: cmake
-BuildRequires: doxygen
-BuildRequires: gcc-c++
-BuildRequires: gtest-devel
-BuildRequires: make
-BuildRequires: cmake(nlohmann_json)
-BuildRequires: python3dist(breathe)
-BuildRequires: python3dist(sphinx)
-BuildRequires: python3dist(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
-make xtest
-
-
-%files devel
-%doc README.md
-%license LICENSE
-%{_includedir}/xtl/
-%{_libdir}/cmake/xtl/
-%{_libdir}/pkgconfig/xtl.pc
-
-%files doc
-%doc docs/build/html
-
-
-%changelog
-* Sat Jul 27 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.6.4-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
-
-* Mon Apr 29 2019 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.6.4-1
-- Update to latest version
-
-* Wed Apr 10 2019 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.6.3-1
-- Update to latest version
-
-* Sat Apr 06 2019 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.6.2-1
-- Update to latest version
-
-* Tue Mar 26 2019 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.6.1-1
-- Update to latest version
-
-* Fri Mar 08 2019 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.6.0-1
-- Update to latest version
-
-* Wed Feb 13 2019 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.5.4-1
-- Update to latest version
-
-* Sun Feb 03 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.5.3-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
-
-* Wed Jan 23 2019 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.5.3-1
-- Update to latest version
-
-* Wed Sep 05 2018 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.4.15-1
-- Update to latest version
-
-* Thu Aug 16 2018 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.4.14-2
-- rebuilt
-
-* Tue Aug 14 2018 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.4.14-1
-- Update to latest version
-
-* Tue Aug 07 2018 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.4.13-1
-- Update to latest version
-
-* Sat Jul 14 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.7-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
-
-* Wed May 02 2018 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> 0.4.7-1
-- Update to latest version
-
-* Wed Mar 21 2018 Elliott Sales de Andrade <quantum.analyst(a)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(a)gmail.com> 0.4.4-1
-- Initial package for Fedora
commit c2854f809aec687b6818186754a205a9de9200dd
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Sat Jul 27 04:41:35 2019 +0000
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/xtl.spec b/xtl.spec
index 9c872fd..c77a06d 100644
--- a/xtl.spec
+++ b/xtl.spec
@@ -3,7 +3,7 @@
Name: xtl
Version: 0.6.4
-Release: 1%{?dist}
+Release: 2%{?dist}
License: BSD
Summary: QuantStack tools library
Url:
https://github.com/QuantStack/xtl
@@ -76,6 +76,9 @@ make xtest
%changelog
+* Sat Jul 27 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.6.4-2
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
+
* Mon Apr 29 2019 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.6.4-1
- Update to latest version
commit 11979303db392609d51e23989b158b2fd330edb0
Author: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
Date: Mon Apr 29 17:39:34 2019 -0400
Update to latest version.
diff --git a/.gitignore b/.gitignore
index b5c2552..289c854 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,4 @@
/xtl-0.6.1.tar.gz
/xtl-0.6.2.tar.gz
/xtl-0.6.3.tar.gz
+/xtl-0.6.4.tar.gz
diff --git a/sources b/sources
index 995513b..d743b00 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (xtl-0.6.3.tar.gz) =
6437050daa598c6b1c63df44932a53df06c9301d65058a80ff4f063980ca5b8428ce7c3b1d1dc29b8f47d4f00259dc427a0688e92a52f970c4f7fea4f9f8ea20
+SHA512 (xtl-0.6.4.tar.gz) =
92ff932634a88fee9bfd27d092ebdf91752d90be8a4f3fc41aef90c195718c989082e53f1fcfae9d67b153ecd29d3dde6f8e2b540eeec0db1d0d229a9b0d2fe8
diff --git a/xtl.spec b/xtl.spec
index 1436198..9c872fd 100644
--- a/xtl.spec
+++ b/xtl.spec
@@ -2,7 +2,7 @@
%global debug_package %{nil}
Name: xtl
-Version: 0.6.3
+Version: 0.6.4
Release: 1%{?dist}
License: BSD
Summary: QuantStack tools library
@@ -76,6 +76,9 @@ make xtest
%changelog
+* Mon Apr 29 2019 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.6.4-1
+- Update to latest version
+
* Wed Apr 10 2019 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.6.3-1
- Update to latest version
commit e4d0ce5567ed21cce020bb1df32d0070dcbfb52a
Author: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
Date: Wed Apr 10 21:32:34 2019 -0400
Update to latest version.
diff --git a/.gitignore b/.gitignore
index 26d4d99..b5c2552 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@
/xtl-0.6.0.tar.gz
/xtl-0.6.1.tar.gz
/xtl-0.6.2.tar.gz
+/xtl-0.6.3.tar.gz
diff --git a/sources b/sources
index aad0bdf..995513b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (xtl-0.6.2.tar.gz) =
2ff5ea10b8231e6d7e85d92e7751722d2df2e1372b40abc3b60b77854560034f77b129ecb734d3e2826d8ee9d6f17e4ab5d931766ad0886faaea8ff4bc9e31e0
+SHA512 (xtl-0.6.3.tar.gz) =
6437050daa598c6b1c63df44932a53df06c9301d65058a80ff4f063980ca5b8428ce7c3b1d1dc29b8f47d4f00259dc427a0688e92a52f970c4f7fea4f9f8ea20
diff --git a/xtl.spec b/xtl.spec
index b916935..1436198 100644
--- a/xtl.spec
+++ b/xtl.spec
@@ -2,7 +2,7 @@
%global debug_package %{nil}
Name: xtl
-Version: 0.6.2
+Version: 0.6.3
Release: 1%{?dist}
License: BSD
Summary: QuantStack tools library
@@ -76,6 +76,9 @@ make xtest
%changelog
+* Wed Apr 10 2019 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.6.3-1
+- Update to latest version
+
* Sat Apr 06 2019 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.6.2-1
- Update to latest version
commit 56b415f7b823e20cd436609d38e2d3be64870a08
Author: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
Date: Sat Apr 6 20:43:30 2019 -0400
Update to latest version.
diff --git a/.gitignore b/.gitignore
index 836c2c0..26d4d99 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@
/xtl-0.5.4.tar.gz
/xtl-0.6.0.tar.gz
/xtl-0.6.1.tar.gz
+/xtl-0.6.2.tar.gz
diff --git a/sources b/sources
index 34cccea..aad0bdf 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (xtl-0.6.1.tar.gz) =
8cf000260d1695784fdd3cc251b9e4937be45190c4cdc4b804125d3c6f6355d597e7e4d06c7443c89314818ccad5bd91559f3f17c7488f4b9f83d4ec8a827eeb
+SHA512 (xtl-0.6.2.tar.gz) =
2ff5ea10b8231e6d7e85d92e7751722d2df2e1372b40abc3b60b77854560034f77b129ecb734d3e2826d8ee9d6f17e4ab5d931766ad0886faaea8ff4bc9e31e0
diff --git a/xtl.spec b/xtl.spec
index 4090605..b916935 100644
--- a/xtl.spec
+++ b/xtl.spec
@@ -2,7 +2,7 @@
%global debug_package %{nil}
Name: xtl
-Version: 0.6.1
+Version: 0.6.2
Release: 1%{?dist}
License: BSD
Summary: QuantStack tools library
@@ -76,6 +76,9 @@ make xtest
%changelog
+* Sat Apr 06 2019 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.6.2-1
+- Update to latest version
+
* Tue Mar 26 2019 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.6.1-1
- Update to latest version
commit 907b98bbfe00310ce25e31335ecea07211f82ff1
Author: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
Date: Tue Mar 26 21:20:39 2019 -0400
Update to latest version.
diff --git a/.gitignore b/.gitignore
index 43ece6c..836c2c0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@
/xtl-0.5.3.tar.gz
/xtl-0.5.4.tar.gz
/xtl-0.6.0.tar.gz
+/xtl-0.6.1.tar.gz
diff --git a/sources b/sources
index babd80c..34cccea 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (xtl-0.6.0.tar.gz) =
68f784ba02a971776fa0de0c1f4de45be7f22844fc0d4dac2b024c47fdeddf6cd80930285f4d173d276c6fd7bf9f9092bf50b86698c0004474b29e14fb7ff74b
+SHA512 (xtl-0.6.1.tar.gz) =
8cf000260d1695784fdd3cc251b9e4937be45190c4cdc4b804125d3c6f6355d597e7e4d06c7443c89314818ccad5bd91559f3f17c7488f4b9f83d4ec8a827eeb
diff --git a/xtl.spec b/xtl.spec
index 62e5392..4090605 100644
--- a/xtl.spec
+++ b/xtl.spec
@@ -2,7 +2,7 @@
%global debug_package %{nil}
Name: xtl
-Version: 0.6.0
+Version: 0.6.1
Release: 1%{?dist}
License: BSD
Summary: QuantStack tools library
@@ -76,6 +76,9 @@ make xtest
%changelog
+* Tue Mar 26 2019 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.6.1-1
+- Update to latest version
+
* Fri Mar 08 2019 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.6.0-1
- Update to latest version
commit 788c897bd91baf798c94a0e5c28da39a76b60414
Author: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
Date: Fri Mar 8 04:47:17 2019 -0500
Update to latest version.
diff --git a/.gitignore b/.gitignore
index 494d1b0..43ece6c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
/xtl-0.4.15.tar.gz
/xtl-0.5.3.tar.gz
/xtl-0.5.4.tar.gz
+/xtl-0.6.0.tar.gz
diff --git a/sources b/sources
index b3c32c8..babd80c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (xtl-0.5.4.tar.gz) =
6181334dda9a2afce4ce2809572605c2f911770f7805a8328e14fa94d4572475c7725f2ead54daec00e62933df6a4c22616a247798c5b7f1f3bd4290945776c8
+SHA512 (xtl-0.6.0.tar.gz) =
68f784ba02a971776fa0de0c1f4de45be7f22844fc0d4dac2b024c47fdeddf6cd80930285f4d173d276c6fd7bf9f9092bf50b86698c0004474b29e14fb7ff74b
diff --git a/xtl.spec b/xtl.spec
index 2c17c8e..62e5392 100644
--- a/xtl.spec
+++ b/xtl.spec
@@ -2,7 +2,7 @@
%global debug_package %{nil}
Name: xtl
-Version: 0.5.4
+Version: 0.6.0
Release: 1%{?dist}
License: BSD
Summary: QuantStack tools library
@@ -76,6 +76,9 @@ make xtest
%changelog
+* Fri Mar 08 2019 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.6.0-1
+- Update to latest version
+
* Wed Feb 13 2019 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.5.4-1
- Update to latest version
commit 110af3857f0b5f60405bbfc665214518d5578a62
Author: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
Date: Wed Feb 13 04:50:29 2019 -0500
Update to latest version.
diff --git a/.gitignore b/.gitignore
index 8ac0b5f..494d1b0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
/xtl-0.4.14.tar.gz
/xtl-0.4.15.tar.gz
/xtl-0.5.3.tar.gz
+/xtl-0.5.4.tar.gz
diff --git a/sources b/sources
index 06c831f..b3c32c8 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (xtl-0.5.3.tar.gz) =
340e10a113d88be81833e8c123835de0fd30bc9b80387cd260edbff5e54ff2d78a72f77ec8803e3031f54f32c7f189a7afc9e0c1b7446fc6340a4482f308ccbf
+SHA512 (xtl-0.5.4.tar.gz) =
6181334dda9a2afce4ce2809572605c2f911770f7805a8328e14fa94d4572475c7725f2ead54daec00e62933df6a4c22616a247798c5b7f1f3bd4290945776c8
diff --git a/xtl.spec b/xtl.spec
index 8e8fb09..2c17c8e 100644
--- a/xtl.spec
+++ b/xtl.spec
@@ -2,8 +2,8 @@
%global debug_package %{nil}
Name: xtl
-Version: 0.5.3
-Release: 2%{?dist}
+Version: 0.5.4
+Release: 1%{?dist}
License: BSD
Summary: QuantStack tools library
Url:
https://github.com/QuantStack/xtl
@@ -76,6 +76,9 @@ make xtest
%changelog
+* Wed Feb 13 2019 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.5.4-1
+- Update to latest version
+
* Sun Feb 03 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.5.3-2
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
commit 87834aa01df12c7fc1470ca7c58dd1eeefedcd1e
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Sun Feb 3 12:52:04 2019 +0000
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/xtl.spec b/xtl.spec
index 22287cd..8e8fb09 100644
--- a/xtl.spec
+++ b/xtl.spec
@@ -3,7 +3,7 @@
Name: xtl
Version: 0.5.3
-Release: 1%{?dist}
+Release: 2%{?dist}
License: BSD
Summary: QuantStack tools library
Url:
https://github.com/QuantStack/xtl
@@ -76,6 +76,9 @@ make xtest
%changelog
+* Sun Feb 03 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.5.3-2
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
+
* Wed Jan 23 2019 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.5.3-1
- Update to latest version
commit 769a566e73fd08224e3824e98b200bada46a01f2
Author: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
Date: Wed Jan 23 02:13:41 2019 -0500
Update to latest version.
diff --git a/.gitignore b/.gitignore
index c9a5e5e..8ac0b5f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
/xtl-0.4.13.tar.gz
/xtl-0.4.14.tar.gz
/xtl-0.4.15.tar.gz
+/xtl-0.5.3.tar.gz
diff --git a/0002-Made-nlohmann_json-optional-in-the-tests-exported-c-.patch
b/0002-Made-nlohmann_json-optional-in-the-tests-exported-c-.patch
deleted file mode 100644
index 831594d..0000000
--- a/0002-Made-nlohmann_json-optional-in-the-tests-exported-c-.patch
+++ /dev/null
@@ -1,118 +0,0 @@
-From 081bbc82d3c76598b8496806bb5a8b95403fc14e Mon Sep 17 00:00:00 2001
-From: Benjamin Isbarn <babene88(a)gmail.com>
-Date: Sat, 25 Aug 2018 12:05:41 +0200
-Subject: [PATCH 2/2] Made nlohmann_json optional in the tests, exported c++14
- requirement (#102)
-
-Made nlohmann_json optional in the tests, exported xtl compile features c++14.
-
-Signed-off-by: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
----
- CMakeLists.txt | 3 +++
- test/CMakeLists.txt | 24 ++++++++++++++++--------
- test/test_xoptional.cpp | 6 ++++++
- 3 files changed, 25 insertions(+), 8 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index c20ea3a..be16680 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -61,6 +61,9 @@ add_library(xtl INTERFACE)
- target_include_directories(xtl INTERFACE $<BUILD_INTERFACE:${XTL_INCLUDE_DIR}>
- $<INSTALL_INTERFACE:include>)
-
-+# xtl requires C++14 support!
-+target_compile_features(xtl INTERFACE cxx_std_14)
-+
-
- OPTION(BUILD_TESTS "xtl test suite" OFF)
- OPTION(DOWNLOAD_GTEST "build gtest from downloaded sources" OFF)
-diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
-index 8c91616..0f7d400 100644
---- a/test/CMakeLists.txt
-+++ b/test/CMakeLists.txt
-@@ -12,6 +12,7 @@ if (CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
- project(xtl-test)
-
- find_package(xtl REQUIRED CONFIG)
-+ find_package(nlohmann_json QUIET CONFIG)
- set(XTL_INCLUDE_DIR ${xtl_INCLUDE_DIRS})
- endif ()
-
-@@ -22,6 +23,10 @@ include(CheckCXXCompilerFlag)
-
- string(TOUPPER "${CMAKE_BUILD_TYPE}" U_CMAKE_BUILD_TYPE)
-
-+if(nlohmann_json_FOUND)
-+ add_definitions(-DHAVE_NLOHMANN_JSON)
-+endif()
-+
- 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} -Wunused-parameter -Wextra -Wreorder
-Wconversion -Wsign-conversion")
- #set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wunused-parameter -Wextra -Wreorder
-Wconversion")
-@@ -30,13 +35,6 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR
CMAKE_CXX_COMPILER_ID MATCHES "GNU"
- if (HAS_MARCH_NATIVE)
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native")
- endif()
--
-- CHECK_CXX_COMPILER_FLAG("-std=c++14" HAS_CPP14_FLAG)
-- if (HAS_CPP14_FLAG)
-- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")
-- else()
-- message(FATAL_ERROR "Unsupported compiler -- xtl requires C++14
support!")
-- endif()
- endif()
-
- if(MSVC)
-@@ -111,7 +109,17 @@ add_executable(${XTL_TARGET} ${XTL_TESTS} ${XTL_HEADERS})
- if(DOWNLOAD_GTEST OR GTEST_SRC_DIR)
- add_dependencies(${XTL_TARGET} gtest_main)
- endif()
--target_link_libraries(${XTL_TARGET} xtl nlohmann_json ${GTEST_BOTH_LIBRARIES}
${CMAKE_THREAD_LIBS_INIT})
-+target_link_libraries(${XTL_TARGET} xtl ${GTEST_BOTH_LIBRARIES}
${CMAKE_THREAD_LIBS_INIT})
-+
-+if(nlohmann_json_FOUND)
-+ # Version up to 3.1.2 export the target `nlohmann_json`
-+ if(TARGET nlohmann_json)
-+ target_link_libraries(${XTL_TARGET} nlohmann_json)
-+ # Newer versions export the namespaced target `nlohmann_json::nlohmann_json`
-+ elseif(TARGET nlohmann_json::nlohmann_json)
-+ target_link_libraries(${XTL_TARGET} nlohmann_json::nlohmann_json)
-+ endif()
-+endif()
-
- add_custom_target(xtest COMMAND test_xtl DEPENDS ${XTL_TARGET})
-
-diff --git a/test/test_xoptional.cpp b/test/test_xoptional.cpp
-index 8100453..2ac1857 100644
---- a/test/test_xoptional.cpp
-+++ b/test/test_xoptional.cpp
-@@ -15,7 +15,11 @@
-
- #include "xtl/xany.hpp"
- #include "xtl/xoptional.hpp"
-+
-+#ifdef HAVE_NLOHMANN_JSON
- #include "xtl/xjson.hpp"
-+#endif
-+
- #include "xtl/xoptional_sequence.hpp"
-
- namespace xtl
-@@ -276,6 +280,7 @@ namespace xtl
- EXPECT_EQ(res.has_value(), o.has_value());
- }
-
-+#ifdef HAVE_NLOHMANN_JSON
- TEST(xoptional, json)
- {
- xoptional<double> m1 = missing<double>();
-@@ -287,4 +292,5 @@ namespace xtl
- nlohmann::json j2 = m2;
- EXPECT_EQ(j2.get<xoptional<double>>(), 3.0);
- }
-+#endif
- }
---
-2.17.1
-
diff --git a/sources b/sources
index da9c651..06c831f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (xtl-0.4.15.tar.gz) =
821c1b98f9aa83f93b102948af2e6e88aad37fd12a13a9f4c8a3f3f5806c9edf19bf2a595e47b3f8293e7bd5b681ab4965f8ad3675c4f344bbfff19b219f22ee
+SHA512 (xtl-0.5.3.tar.gz) =
340e10a113d88be81833e8c123835de0fd30bc9b80387cd260edbff5e54ff2d78a72f77ec8803e3031f54f32c7f189a7afc9e0c1b7446fc6340a4482f308ccbf
diff --git a/xtl.spec b/xtl.spec
index 827d138..22287cd 100644
--- a/xtl.spec
+++ b/xtl.spec
@@ -2,7 +2,7 @@
%global debug_package %{nil}
Name: xtl
-Version: 0.4.15
+Version: 0.5.3
Release: 1%{?dist}
License: BSD
Summary: QuantStack tools library
@@ -10,8 +10,6 @@ Url:
https://github.com/QuantStack/xtl
Source0:
https://github.com/QuantStack/%{name}/archive/%{version}/%{name}-%{versio...
#
https://github.com/QuantStack/xtl/issues/97
Patch0001: 0001-Fix-complex-test.patch
-#
https://github.com/QuantStack/xtl/pull/102
-Patch0002: 0002-Made-nlohmann_json-optional-in-the-tests-exported-c-.patch
BuildRequires: binutils
BuildRequires: cmake
@@ -49,7 +47,7 @@ Documentation files for %{name} library.
%build
-%cmake -DBUILD_TESTS=ON
+%cmake -DBUILD_TESTS=ON .
%make_build
pushd docs
@@ -78,6 +76,9 @@ make xtest
%changelog
+* Wed Jan 23 2019 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.5.3-1
+- Update to latest version
+
* Wed Sep 05 2018 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.4.15-1
- Update to latest version
commit 6241a87eac3f8f5419c68b3cf397d0fa677d73d6
Author: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
Date: Wed Sep 5 06:22:37 2018 -0400
Update to latest version.
diff --git a/.gitignore b/.gitignore
index 3966f97..c9a5e5e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
/xtl-0.4.7.tar.gz
/xtl-0.4.13.tar.gz
/xtl-0.4.14.tar.gz
+/xtl-0.4.15.tar.gz
diff --git a/0001-Fix-complex-test.patch b/0001-Fix-complex-test.patch
index 759501f..b87df5a 100644
--- a/0001-Fix-complex-test.patch
+++ b/0001-Fix-complex-test.patch
@@ -1,7 +1,7 @@
-From bb3fdf2fb8468ffc1e256491b7bbd029c4880978 Mon Sep 17 00:00:00 2001
+From 517cd4f961c155284916fe393445adbe0e137d2b Mon Sep 17 00:00:00 2001
From: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
Date: Wed, 8 Aug 2018 00:03:32 -0400
-Subject: [PATCH] Fix complex test.
+Subject: [PATCH 1/2] Fix complex test.
Signed-off-by: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
---
diff --git a/0002-Made-nlohmann_json-optional-in-the-tests-exported-c-.patch
b/0002-Made-nlohmann_json-optional-in-the-tests-exported-c-.patch
new file mode 100644
index 0000000..831594d
--- /dev/null
+++ b/0002-Made-nlohmann_json-optional-in-the-tests-exported-c-.patch
@@ -0,0 +1,118 @@
+From 081bbc82d3c76598b8496806bb5a8b95403fc14e Mon Sep 17 00:00:00 2001
+From: Benjamin Isbarn <babene88(a)gmail.com>
+Date: Sat, 25 Aug 2018 12:05:41 +0200
+Subject: [PATCH 2/2] Made nlohmann_json optional in the tests, exported c++14
+ requirement (#102)
+
+Made nlohmann_json optional in the tests, exported xtl compile features c++14.
+
+Signed-off-by: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
+---
+ CMakeLists.txt | 3 +++
+ test/CMakeLists.txt | 24 ++++++++++++++++--------
+ test/test_xoptional.cpp | 6 ++++++
+ 3 files changed, 25 insertions(+), 8 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index c20ea3a..be16680 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -61,6 +61,9 @@ add_library(xtl INTERFACE)
+ target_include_directories(xtl INTERFACE $<BUILD_INTERFACE:${XTL_INCLUDE_DIR}>
+ $<INSTALL_INTERFACE:include>)
+
++# xtl requires C++14 support!
++target_compile_features(xtl INTERFACE cxx_std_14)
++
+
+ OPTION(BUILD_TESTS "xtl test suite" OFF)
+ OPTION(DOWNLOAD_GTEST "build gtest from downloaded sources" OFF)
+diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
+index 8c91616..0f7d400 100644
+--- a/test/CMakeLists.txt
++++ b/test/CMakeLists.txt
+@@ -12,6 +12,7 @@ if (CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
+ project(xtl-test)
+
+ find_package(xtl REQUIRED CONFIG)
++ find_package(nlohmann_json QUIET CONFIG)
+ set(XTL_INCLUDE_DIR ${xtl_INCLUDE_DIRS})
+ endif ()
+
+@@ -22,6 +23,10 @@ include(CheckCXXCompilerFlag)
+
+ string(TOUPPER "${CMAKE_BUILD_TYPE}" U_CMAKE_BUILD_TYPE)
+
++if(nlohmann_json_FOUND)
++ add_definitions(-DHAVE_NLOHMANN_JSON)
++endif()
++
+ 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} -Wunused-parameter -Wextra -Wreorder
-Wconversion -Wsign-conversion")
+ #set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wunused-parameter -Wextra -Wreorder
-Wconversion")
+@@ -30,13 +35,6 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR
CMAKE_CXX_COMPILER_ID MATCHES "GNU"
+ if (HAS_MARCH_NATIVE)
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native")
+ endif()
+-
+- CHECK_CXX_COMPILER_FLAG("-std=c++14" HAS_CPP14_FLAG)
+- if (HAS_CPP14_FLAG)
+- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")
+- else()
+- message(FATAL_ERROR "Unsupported compiler -- xtl requires C++14
support!")
+- endif()
+ endif()
+
+ if(MSVC)
+@@ -111,7 +109,17 @@ add_executable(${XTL_TARGET} ${XTL_TESTS} ${XTL_HEADERS})
+ if(DOWNLOAD_GTEST OR GTEST_SRC_DIR)
+ add_dependencies(${XTL_TARGET} gtest_main)
+ endif()
+-target_link_libraries(${XTL_TARGET} xtl nlohmann_json ${GTEST_BOTH_LIBRARIES}
${CMAKE_THREAD_LIBS_INIT})
++target_link_libraries(${XTL_TARGET} xtl ${GTEST_BOTH_LIBRARIES}
${CMAKE_THREAD_LIBS_INIT})
++
++if(nlohmann_json_FOUND)
++ # Version up to 3.1.2 export the target `nlohmann_json`
++ if(TARGET nlohmann_json)
++ target_link_libraries(${XTL_TARGET} nlohmann_json)
++ # Newer versions export the namespaced target `nlohmann_json::nlohmann_json`
++ elseif(TARGET nlohmann_json::nlohmann_json)
++ target_link_libraries(${XTL_TARGET} nlohmann_json::nlohmann_json)
++ endif()
++endif()
+
+ add_custom_target(xtest COMMAND test_xtl DEPENDS ${XTL_TARGET})
+
+diff --git a/test/test_xoptional.cpp b/test/test_xoptional.cpp
+index 8100453..2ac1857 100644
+--- a/test/test_xoptional.cpp
++++ b/test/test_xoptional.cpp
+@@ -15,7 +15,11 @@
+
+ #include "xtl/xany.hpp"
+ #include "xtl/xoptional.hpp"
++
++#ifdef HAVE_NLOHMANN_JSON
+ #include "xtl/xjson.hpp"
++#endif
++
+ #include "xtl/xoptional_sequence.hpp"
+
+ namespace xtl
+@@ -276,6 +280,7 @@ namespace xtl
+ EXPECT_EQ(res.has_value(), o.has_value());
+ }
+
++#ifdef HAVE_NLOHMANN_JSON
+ TEST(xoptional, json)
+ {
+ xoptional<double> m1 = missing<double>();
+@@ -287,4 +292,5 @@ namespace xtl
+ nlohmann::json j2 = m2;
+ EXPECT_EQ(j2.get<xoptional<double>>(), 3.0);
+ }
++#endif
+ }
+--
+2.17.1
+
diff --git a/sources b/sources
index 6093444..da9c651 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (xtl-0.4.14.tar.gz) =
33a012240a83d9ab53316e3287983fe03eeebf44372008a59b8500df7cb1dcb26d9c34466dc8c3767029661aa7d3a8f1cfc9df3eedc2a17268985b0e2a1dff87
+SHA512 (xtl-0.4.15.tar.gz) =
821c1b98f9aa83f93b102948af2e6e88aad37fd12a13a9f4c8a3f3f5806c9edf19bf2a595e47b3f8293e7bd5b681ab4965f8ad3675c4f344bbfff19b219f22ee
diff --git a/xtl.spec b/xtl.spec
index bb42872..827d138 100644
--- a/xtl.spec
+++ b/xtl.spec
@@ -2,14 +2,16 @@
%global debug_package %{nil}
Name: xtl
-Version: 0.4.14
-Release: 2%{?dist}
+Version: 0.4.15
+Release: 1%{?dist}
License: BSD
Summary: QuantStack tools library
Url:
https://github.com/QuantStack/xtl
Source0:
https://github.com/QuantStack/%{name}/archive/%{version}/%{name}-%{versio...
#
https://github.com/QuantStack/xtl/issues/97
Patch0001: 0001-Fix-complex-test.patch
+#
https://github.com/QuantStack/xtl/pull/102
+Patch0002: 0002-Made-nlohmann_json-optional-in-the-tests-exported-c-.patch
BuildRequires: binutils
BuildRequires: cmake
@@ -61,10 +63,6 @@ popd
%check
-#
https://github.com/QuantStack/xtl/issues/72
-%ifarch ppc64 s390x
-export GTEST_FILTER=-hash.verification
-%endif
make xtest
@@ -80,6 +78,9 @@ make xtest
%changelog
+* Wed Sep 05 2018 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.4.15-1
+- Update to latest version
+
* Thu Aug 16 2018 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.4.14-2
- rebuilt
commit 01d1f67c030e8698cba2331511e653e7e8a782bc
Author: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
Date: Thu Aug 16 04:33:35 2018 -0400
Rebuild to fix build tagging.
diff --git a/xtl.spec b/xtl.spec
index 6a00cd1..bb42872 100644
--- a/xtl.spec
+++ b/xtl.spec
@@ -3,7 +3,7 @@
Name: xtl
Version: 0.4.14
-Release: 1%{?dist}
+Release: 2%{?dist}
License: BSD
Summary: QuantStack tools library
Url:
https://github.com/QuantStack/xtl
@@ -80,6 +80,9 @@ make xtest
%changelog
+* Thu Aug 16 2018 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.4.14-2
+- rebuilt
+
* Tue Aug 14 2018 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.4.14-1
- Update to latest version
commit a5366b553e0a4860244e9456d78405f3ba714538
Author: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
Date: Tue Aug 14 20:27:08 2018 -0400
Update to latest version.
diff --git a/.gitignore b/.gitignore
index 2fbc78b..3966f97 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/xtl-0.4.4.tar.gz
/xtl-0.4.7.tar.gz
/xtl-0.4.13.tar.gz
+/xtl-0.4.14.tar.gz
diff --git a/0001-Fix-complex-test.patch b/0001-Fix-complex-test.patch
new file mode 100644
index 0000000..759501f
--- /dev/null
+++ b/0001-Fix-complex-test.patch
@@ -0,0 +1,43 @@
+From bb3fdf2fb8468ffc1e256491b7bbd029c4880978 Mon Sep 17 00:00:00 2001
+From: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
+Date: Wed, 8 Aug 2018 00:03:32 -0400
+Subject: [PATCH] Fix complex test.
+
+Signed-off-by: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
+---
+ test/test_xcomplex.cpp | 17 +++++++++++++----
+ 1 file changed, 13 insertions(+), 4 deletions(-)
+
+diff --git a/test/test_xcomplex.cpp b/test/test_xcomplex.cpp
+index d238f33..a8a96c9 100644
+--- a/test/test_xcomplex.cpp
++++ b/test/test_xcomplex.cpp
+@@ -253,12 +253,21 @@ namespace xtl
+ TEST(xcomplex, power)
+ {
+ complex_type c(1., 2.);
++ complex_type r, sr;
+ std::complex<double> sc(c);
+ double d = 1.5;
+- EXPECT_EQ(pow(c, c), complex_type(std::pow(sc, sc)));
+- EXPECT_EQ(pow(c, d), complex_type(std::pow(sc, d)));
+- EXPECT_EQ(pow(d, c), complex_type(std::pow(d, sc)));
+- EXPECT_EQ(sqrt(c), complex_type(std::sqrt(sc)));
++#define EXPECT_COMPLEX_EQ(a, b) \
++ do { \
++ r = a; \
++ sr = b; \
++ EXPECT_DOUBLE_EQ(r.real(), sr.real()); \
++ EXPECT_DOUBLE_EQ(r.imag(), sr.imag()); \
++ } while (0)
++ EXPECT_COMPLEX_EQ(pow(c, c), complex_type(std::pow(sc, sc)));
++ EXPECT_COMPLEX_EQ(pow(c, d), complex_type(std::pow(sc, d)));
++ EXPECT_COMPLEX_EQ(pow(d, c), complex_type(std::pow(d, sc)));
++ EXPECT_COMPLEX_EQ(sqrt(c), complex_type(std::sqrt(sc)));
++#undef EXPECT_COMPLEX_EQ
+ }
+
+ TEST(xcomplex, trigonometric)
+--
+2.17.1
+
diff --git a/0001-Remove-march-native-flag.patch b/0001-Remove-march-native-flag.patch
deleted file mode 100644
index 3c09525..0000000
--- a/0001-Remove-march-native-flag.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 3fa975ff766523ccc656f8f8104994ac455c9f27 Mon Sep 17 00:00:00 2001
-From: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
-Date: Tue, 20 Mar 2018 05:15:08 -0400
-Subject: [PATCH 1/2] Remove march=native flag.
-
-Signed-off-by: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
----
- test/CMakeLists.txt | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
-index 6e8b081..eddec87 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.17.1
-
diff --git a/0002-Fix-complex-test.patch b/0002-Fix-complex-test.patch
deleted file mode 100644
index f26b3f6..0000000
--- a/0002-Fix-complex-test.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From 2dd7b359a17669f10203cd6b6b588780d46c6907 Mon Sep 17 00:00:00 2001
-From: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
-Date: Wed, 8 Aug 2018 00:03:32 -0400
-Subject: [PATCH 2/2] Fix complex test.
-
-Signed-off-by: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
----
- test/test_xcomplex.cpp | 17 +++++++++++++----
- 1 file changed, 13 insertions(+), 4 deletions(-)
-
-diff --git a/test/test_xcomplex.cpp b/test/test_xcomplex.cpp
-index d238f33..a8a96c9 100644
---- a/test/test_xcomplex.cpp
-+++ b/test/test_xcomplex.cpp
-@@ -253,12 +253,21 @@ namespace xtl
- TEST(xcomplex, power)
- {
- complex_type c(1., 2.);
-+ complex_type r, sr;
- std::complex<double> sc(c);
- double d = 1.5;
-- EXPECT_EQ(pow(c, c), complex_type(std::pow(sc, sc)));
-- EXPECT_EQ(pow(c, d), complex_type(std::pow(sc, d)));
-- EXPECT_EQ(pow(d, c), complex_type(std::pow(d, sc)));
-- EXPECT_EQ(sqrt(c), complex_type(std::sqrt(sc)));
-+#define EXPECT_COMPLEX_EQ(a, b) \
-+ do { \
-+ r = a; \
-+ sr = b; \
-+ EXPECT_DOUBLE_EQ(r.real(), sr.real()); \
-+ EXPECT_DOUBLE_EQ(r.imag(), sr.imag()); \
-+ } while (0)
-+ EXPECT_COMPLEX_EQ(pow(c, c), complex_type(std::pow(sc, sc)));
-+ EXPECT_COMPLEX_EQ(pow(c, d), complex_type(std::pow(sc, d)));
-+ EXPECT_COMPLEX_EQ(pow(d, c), complex_type(std::pow(d, sc)));
-+ EXPECT_COMPLEX_EQ(sqrt(c), complex_type(std::sqrt(sc)));
-+#undef EXPECT_COMPLEX_EQ
- }
-
- TEST(xcomplex, trigonometric)
---
-2.17.1
-
diff --git a/sources b/sources
index d72e355..6093444 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (xtl-0.4.13.tar.gz) =
0bb041f34cc85a4fa2671fc82cfa31b504db9769d477e149d3a77cc2307609c086f88451106326a3a5a40ab9ba93eef450902d917548edb364c5be77288df7fa
+SHA512 (xtl-0.4.14.tar.gz) =
33a012240a83d9ab53316e3287983fe03eeebf44372008a59b8500df7cb1dcb26d9c34466dc8c3767029661aa7d3a8f1cfc9df3eedc2a17268985b0e2a1dff87
diff --git a/xtl.spec b/xtl.spec
index 00627b0..6a00cd1 100644
--- a/xtl.spec
+++ b/xtl.spec
@@ -2,16 +2,14 @@
%global debug_package %{nil}
Name: xtl
-Version: 0.4.13
+Version: 0.4.14
Release: 1%{?dist}
License: BSD
Summary: QuantStack tools library
Url:
https://github.com/QuantStack/xtl
Source0:
https://github.com/QuantStack/%{name}/archive/%{version}/%{name}-%{versio...
-# Just used in testing, and it breaks on some arches.
-Patch0001: 0001-Remove-march-native-flag.patch
#
https://github.com/QuantStack/xtl/issues/97
-Patch0002: 0002-Fix-complex-test.patch
+Patch0001: 0001-Fix-complex-test.patch
BuildRequires: binutils
BuildRequires: cmake
@@ -82,6 +80,9 @@ make xtest
%changelog
+* Tue Aug 14 2018 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.4.14-1
+- Update to latest version
+
* Tue Aug 07 2018 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.4.13-1
- Update to latest version
commit 587b248fc695c6017f1ff26d9457c1f6ca1463d5
Author: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
Date: Wed Aug 8 02:48:16 2018 -0400
Update to latest version.
diff --git a/.gitignore b/.gitignore
index 3fc2947..2fbc78b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/xtl-0.4.4.tar.gz
/xtl-0.4.7.tar.gz
+/xtl-0.4.13.tar.gz
diff --git a/0001-Remove-march-native-flag.patch b/0001-Remove-march-native-flag.patch
index 3177918..3c09525 100644
--- a/0001-Remove-march-native-flag.patch
+++ b/0001-Remove-march-native-flag.patch
@@ -1,7 +1,7 @@
-From bf37aab2b70905fd48ca3a11c92c8ca0e145cc74 Mon Sep 17 00:00:00 2001
+From 3fa975ff766523ccc656f8f8104994ac455c9f27 Mon Sep 17 00:00:00 2001
From: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
Date: Tue, 20 Mar 2018 05:15:08 -0400
-Subject: [PATCH] Remove march=native flag.
+Subject: [PATCH 1/2] Remove march=native flag.
Signed-off-by: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
---
@@ -9,7 +9,7 @@ Signed-off-by: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
-index 259cddc..23b1c5f 100644
+index 6e8b081..eddec87 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -23,8 +23,8 @@ include(CheckCXXCompilerFlag)
@@ -24,5 +24,5 @@ index 259cddc..23b1c5f 100644
if (HAS_CPP14_FLAG)
--
-2.14.3
+2.17.1
diff --git a/0002-Fix-complex-test.patch b/0002-Fix-complex-test.patch
new file mode 100644
index 0000000..f26b3f6
--- /dev/null
+++ b/0002-Fix-complex-test.patch
@@ -0,0 +1,43 @@
+From 2dd7b359a17669f10203cd6b6b588780d46c6907 Mon Sep 17 00:00:00 2001
+From: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
+Date: Wed, 8 Aug 2018 00:03:32 -0400
+Subject: [PATCH 2/2] Fix complex test.
+
+Signed-off-by: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
+---
+ test/test_xcomplex.cpp | 17 +++++++++++++----
+ 1 file changed, 13 insertions(+), 4 deletions(-)
+
+diff --git a/test/test_xcomplex.cpp b/test/test_xcomplex.cpp
+index d238f33..a8a96c9 100644
+--- a/test/test_xcomplex.cpp
++++ b/test/test_xcomplex.cpp
+@@ -253,12 +253,21 @@ namespace xtl
+ TEST(xcomplex, power)
+ {
+ complex_type c(1., 2.);
++ complex_type r, sr;
+ std::complex<double> sc(c);
+ double d = 1.5;
+- EXPECT_EQ(pow(c, c), complex_type(std::pow(sc, sc)));
+- EXPECT_EQ(pow(c, d), complex_type(std::pow(sc, d)));
+- EXPECT_EQ(pow(d, c), complex_type(std::pow(d, sc)));
+- EXPECT_EQ(sqrt(c), complex_type(std::sqrt(sc)));
++#define EXPECT_COMPLEX_EQ(a, b) \
++ do { \
++ r = a; \
++ sr = b; \
++ EXPECT_DOUBLE_EQ(r.real(), sr.real()); \
++ EXPECT_DOUBLE_EQ(r.imag(), sr.imag()); \
++ } while (0)
++ EXPECT_COMPLEX_EQ(pow(c, c), complex_type(std::pow(sc, sc)));
++ EXPECT_COMPLEX_EQ(pow(c, d), complex_type(std::pow(sc, d)));
++ EXPECT_COMPLEX_EQ(pow(d, c), complex_type(std::pow(d, sc)));
++ EXPECT_COMPLEX_EQ(sqrt(c), complex_type(std::sqrt(sc)));
++#undef EXPECT_COMPLEX_EQ
+ }
+
+ TEST(xcomplex, trigonometric)
+--
+2.17.1
+
diff --git a/sources b/sources
index 2f1d908..d72e355 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (xtl-0.4.7.tar.gz) =
624233c436c25995717efd95c361522d415883bd70e19a1c92c77413d049465bca21b4315564f2ea7edf3ae6844a3a78f018d0281a2c73b040b2b7d9685fb1b7
+SHA512 (xtl-0.4.13.tar.gz) =
0bb041f34cc85a4fa2671fc82cfa31b504db9769d477e149d3a77cc2307609c086f88451106326a3a5a40ab9ba93eef450902d917548edb364c5be77288df7fa
diff --git a/xtl.spec b/xtl.spec
index 8ae1f24..00627b0 100644
--- a/xtl.spec
+++ b/xtl.spec
@@ -2,25 +2,27 @@
%global debug_package %{nil}
Name: xtl
-Version: 0.4.7
-Release: 2%{?dist}
+Version: 0.4.13
+Release: 1%{?dist}
License: BSD
Summary: QuantStack tools library
Url:
https://github.com/QuantStack/xtl
Source0:
https://github.com/QuantStack/%{name}/archive/%{version}/%{name}-%{versio...
# Just used in testing, and it breaks on some arches.
Patch0001: 0001-Remove-march-native-flag.patch
+#
https://github.com/QuantStack/xtl/issues/97
+Patch0002: 0002-Fix-complex-test.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
+BuildRequires: cmake(nlohmann_json)
+BuildRequires: python3dist(breathe)
+BuildRequires: python3dist(sphinx)
+BuildRequires: python3dist(sphinx-rtd-theme)
%description
Basic tools (containers, algorithms) used by other QuantStack packages.
@@ -73,12 +75,16 @@ make xtest
%license LICENSE
%{_includedir}/xtl/
%{_libdir}/cmake/xtl/
+%{_libdir}/pkgconfig/xtl.pc
%files doc
%doc docs/build/html
%changelog
+* Tue Aug 07 2018 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.4.13-1
+- Update to latest version
+
* Sat Jul 14 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.7-2
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
commit 7cfd7e5b1e06d14063f809950ad61ea4a90c961e
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Sat Jul 14 09:37:07 2018 +0000
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/xtl.spec b/xtl.spec
index 6771d0f..8ae1f24 100644
--- a/xtl.spec
+++ b/xtl.spec
@@ -3,7 +3,7 @@
Name: xtl
Version: 0.4.7
-Release: 1%{?dist}
+Release: 2%{?dist}
License: BSD
Summary: QuantStack tools library
Url:
https://github.com/QuantStack/xtl
@@ -79,6 +79,9 @@ make xtest
%changelog
+* Sat Jul 14 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.7-2
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
* Wed May 02 2018 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> 0.4.7-1
- Update to latest version
commit 1b0db8ed0f375b2018ca4388c4dd417705b088c0
Author: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
Date: Thu May 3 22:49:07 2018 -0400
Update to latest version.
diff --git a/.gitignore b/.gitignore
index 6aa0ad3..3fc2947 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/xtl-0.4.4.tar.gz
+/xtl-0.4.7.tar.gz
diff --git a/sources b/sources
index f909fd9..2f1d908 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (xtl-0.4.4.tar.gz) =
6f480081a83912c59c529d54dd036197d998346929f6cc79382515c9c1bc7ef7fc1439b7fe73d75748a7eb972e4799a13e33ad2a159c2f5ad7c0a51be0f30eda
+SHA512 (xtl-0.4.7.tar.gz) =
624233c436c25995717efd95c361522d415883bd70e19a1c92c77413d049465bca21b4315564f2ea7edf3ae6844a3a78f018d0281a2c73b040b2b7d9685fb1b7
diff --git a/xtl.spec b/xtl.spec
index 5c5c5a0..6771d0f 100644
--- a/xtl.spec
+++ b/xtl.spec
@@ -2,8 +2,8 @@
%global debug_package %{nil}
Name: xtl
-Version: 0.4.4
-Release: 2%{?dist}
+Version: 0.4.7
+Release: 1%{?dist}
License: BSD
Summary: QuantStack tools library
Url:
https://github.com/QuantStack/xtl
@@ -79,6 +79,9 @@ make xtest
%changelog
+* Wed May 02 2018 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> 0.4.7-1
+- Update to latest version
+
* Wed Mar 21 2018 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> 0.4.4-2
- Split documentation into subpackage
- Run more tests on broken arches
commit 12f93065e13ff3f14db1296288c68e19c0049181
Author: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
Date: Thu May 3 22:17:05 2018 -0400
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(a)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(a)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}-%{versio...
+# 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(a)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(a)gmail.com> 0.4.4-1
+- Initial package for Fedora