Compare commits
56 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
1c397e65ac | ||
|
efe11413c4 | ||
|
eae6842713 | ||
|
087ca378a5 | ||
|
e67ce1277a | ||
|
89f7da510a | ||
|
b3d9984585 | ||
|
5764bbeff2 | ||
|
462e3fc831 | ||
|
06f19bdccc | ||
|
475059402f | ||
|
88433e4e9a | ||
|
c2a6ef1449 | ||
|
6eb2f20252 | ||
|
27c9570599 | ||
|
801f05e1df | ||
|
a3aa873332 | ||
|
a00a210f7c | ||
|
13518c8052 | ||
|
e0204097a2 | ||
|
fd4e02df3c | ||
|
f68c523888 | ||
|
b23aecaee1 | ||
|
5ad3f0bd75 | ||
|
b784d3e69b | ||
|
390232d1c2 | ||
|
c667791fb7 | ||
|
b66866e56d | ||
|
57363b969e | ||
|
832e0e6d1a | ||
|
69afba0195 | ||
|
4b65f79d61 | ||
|
92753a8606 | ||
|
35cd69091d | ||
|
0920c5adfe | ||
|
fd95484c12 | ||
|
1ac26ce3f5 | ||
|
68c80c00ee | ||
|
39128591bc | ||
|
4251ad60d8 | ||
|
f609630572 | ||
|
8345187200 | ||
|
a77d13b46a | ||
|
64f250e757 | ||
|
1c8d9d1ff3 | ||
|
74ce89687e | ||
|
61ccec1e37 | ||
|
57eba89f14 | ||
|
09e67b9253 | ||
|
c1523bbec5 | ||
|
06cef26c0b | ||
|
8e06551b3c | ||
|
f8ce2e9f2f | ||
|
d5f823d76f | ||
|
36fa87419f | ||
|
1cea254ddd |
3
.gitignore
vendored
3
.gitignore
vendored
@ -1 +1,4 @@
|
|||||||
/ocamlgraph-1.8.5.tar.gz
|
/ocamlgraph-1.8.5.tar.gz
|
||||||
|
/ocamlgraph-1.8.6.tar.gz
|
||||||
|
/ocamlgraph-1.8.7.tar.gz
|
||||||
|
/ocamlgraph-1.8.8.tar.gz
|
||||||
|
@ -1,24 +1,24 @@
|
|||||||
%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
|
|
||||||
%global ocaml_destdir %{_libdir}/ocaml
|
%global ocaml_destdir %{_libdir}/ocaml
|
||||||
%if !%{opt}
|
|
||||||
%global debug_package %{nil}
|
|
||||||
%endif
|
|
||||||
|
|
||||||
Name: ocaml-ocamlgraph
|
Name: ocaml-ocamlgraph
|
||||||
Version: 1.8.5
|
Version: 1.8.8
|
||||||
Release: 2%{?dist}
|
Release: 25%{?dist}
|
||||||
Summary: OCaml library for arc and node graphs
|
Summary: OCaml library for arc and node graphs
|
||||||
|
|
||||||
License: LGPLv2 with exceptions
|
License: LGPLv2 with exceptions
|
||||||
URL: http://ocamlgraph.lri.fr/
|
URL: http://ocamlgraph.lri.fr/index.en.html
|
||||||
Source0: http://ocamlgraph.lri.fr/download/ocamlgraph-%{version}.tar.gz
|
Source0: http://ocamlgraph.lri.fr/download/ocamlgraph-%{version}.tar.gz
|
||||||
Source1: ocamlgraph-test.result
|
Source1: ocamlgraph-test.result
|
||||||
# When building the byte variant, do not try to install artifacts that were
|
# When building the byte variant, do not try to install artifacts that were
|
||||||
# not built.
|
# not built.
|
||||||
Patch0: ocamlgraph-1.8.5-byte-install.patch
|
Patch0: ocamlgraph-1.8.6-byte-install.patch
|
||||||
|
|
||||||
|
# Fix the tests - unclear why this is necessary.
|
||||||
|
Patch1: ocamlgraph-1.8.7-fix-tests.patch
|
||||||
|
|
||||||
BuildRequires: libart_lgpl-devel
|
BuildRequires: libart_lgpl-devel
|
||||||
BuildRequires: libgnomecanvas-devel
|
BuildRequires: libgnomecanvas-devel
|
||||||
|
BuildRequires: make
|
||||||
BuildRequires: ocaml
|
BuildRequires: ocaml
|
||||||
BuildRequires: ocaml-findlib
|
BuildRequires: ocaml-findlib
|
||||||
BuildRequires: ocaml-lablgtk-devel
|
BuildRequires: ocaml-lablgtk-devel
|
||||||
@ -61,15 +61,13 @@ The %{name}-tools package contains graph editing tools for use with
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{libname}-%{version}
|
%setup -q -n %{libname}-%{version}
|
||||||
%if ! %opt
|
%ifnarch %{ocaml_native_compiler}
|
||||||
%patch0
|
%patch0
|
||||||
%endif
|
%endif
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
cp -p %{SOURCE1} .
|
cp -p %{SOURCE1} .
|
||||||
|
|
||||||
# Remove spurious executable bits
|
|
||||||
find . -name '*.ml*' -perm /0111 | xargs chmod a-x
|
|
||||||
|
|
||||||
# Fix encoding
|
# Fix encoding
|
||||||
for fil in CHANGES COPYING CREDITS; do
|
for fil in CHANGES COPYING CREDITS; do
|
||||||
iconv -f latin1 -t utf-8 $fil > $fil.utf8
|
iconv -f latin1 -t utf-8 $fil > $fil.utf8
|
||||||
@ -81,7 +79,7 @@ done
|
|||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
|
|
||||||
%if %opt
|
%ifarch %{ocaml_native_compiler}
|
||||||
%global opt_option OCAMLBEST=opt OCAMLOPT='ocamlopt.opt -g'
|
%global opt_option OCAMLBEST=opt OCAMLOPT='ocamlopt.opt -g'
|
||||||
%else
|
%else
|
||||||
%global opt_option OCAMLBEST=byte OCAMLC=ocamlc
|
%global opt_option OCAMLBEST=byte OCAMLC=ocamlc
|
||||||
@ -90,15 +88,20 @@ make depend
|
|||||||
make %{opt_option}
|
make %{opt_option}
|
||||||
make doc
|
make doc
|
||||||
|
|
||||||
|
# Skip the tests on i386; see https://github.com/ocaml/ocaml/issues/9800
|
||||||
|
%ifnarch %{ix86}
|
||||||
|
%ifarch %{ocaml_native_compiler}
|
||||||
%check
|
%check
|
||||||
make --no-print-directory check >& test
|
make --no-print-directory check >& test
|
||||||
diff -u test ocamlgraph-test.result
|
diff -u test ocamlgraph-test.result
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{ocaml_destdir}
|
mkdir -p %{buildroot}%{ocaml_destdir}
|
||||||
make OCAMLFIND_DESTDIR=%{buildroot}%{ocaml_destdir} install-findlib
|
make OCAMLFIND_DESTDIR=%{buildroot}%{ocaml_destdir} install-findlib
|
||||||
%if %opt
|
%ifarch %{ocaml_native_compiler}
|
||||||
install -m 0755 -p graph.cmxs %{buildroot}%{ocaml_destdir}/%{libname}
|
install -m 0755 -p graph.cmxs %{buildroot}%{ocaml_destdir}/%{libname}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -110,7 +113,7 @@ cp -p doc/* dox-devel/API
|
|||||||
|
|
||||||
# Install the graph editing tools
|
# Install the graph editing tools
|
||||||
mkdir -p %{buildroot}%{_bindir}
|
mkdir -p %{buildroot}%{_bindir}
|
||||||
%if %opt
|
%ifarch %{ocaml_native_compiler}
|
||||||
install -m 0755 -p editor/editor.opt %{buildroot}/%{_bindir}/ocaml-graph-editor
|
install -m 0755 -p editor/editor.opt %{buildroot}/%{_bindir}/ocaml-graph-editor
|
||||||
install -m 0755 -p dgraph/dgraph.opt %{buildroot}%{_bindir}/ocaml-graph-viewer
|
install -m 0755 -p dgraph/dgraph.opt %{buildroot}%{_bindir}/ocaml-graph-viewer
|
||||||
install -m 0755 -p view_graph/viewgraph.opt \
|
install -m 0755 -p view_graph/viewgraph.opt \
|
||||||
@ -124,9 +127,10 @@ install -m 0755 -p view_graph/viewgraph.byte \
|
|||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc COPYING CREDITS FAQ LICENSE
|
%doc CREDITS FAQ
|
||||||
|
%license COPYING LICENSE
|
||||||
%{ocaml_destdir}/%{libname}/
|
%{ocaml_destdir}/%{libname}/
|
||||||
%if %opt
|
%ifarch %{ocaml_native_compiler}
|
||||||
%exclude %{ocaml_destdir}/*/*.a
|
%exclude %{ocaml_destdir}/*/*.a
|
||||||
%exclude %{ocaml_destdir}/*/*.cmxa
|
%exclude %{ocaml_destdir}/*/*.cmxa
|
||||||
%exclude %{ocaml_destdir}/*/*.cmx
|
%exclude %{ocaml_destdir}/*/*.cmx
|
||||||
@ -136,8 +140,8 @@ install -m 0755 -p view_graph/viewgraph.byte \
|
|||||||
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%doc CHANGES README dox-devel/*
|
%doc CHANGES README.adoc dox-devel/*
|
||||||
%if %opt
|
%ifarch %{ocaml_native_compiler}
|
||||||
%{ocaml_destdir}/*/*.a
|
%{ocaml_destdir}/*/*.a
|
||||||
%{ocaml_destdir}/*/*.cmxa
|
%{ocaml_destdir}/*/*.cmxa
|
||||||
%{ocaml_destdir}/*/*.cmx
|
%{ocaml_destdir}/*/*.cmx
|
||||||
@ -151,6 +155,157 @@ install -m 0755 -p view_graph/viewgraph.byte \
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Mar 1 16:57:43 GMT 2021 Richard W.M. Jones <rjones@redhat.com> - 1.8.8-25
|
||||||
|
- OCaml 4.12.0 build
|
||||||
|
|
||||||
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.8-24
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Sep 01 2020 Richard W.M. Jones <rjones@redhat.com> - 1.8.8-23
|
||||||
|
- OCaml 4.11.1 rebuild
|
||||||
|
|
||||||
|
* Fri Aug 21 2020 Richard W.M. Jones <rjones@redhat.com> - 1.8.8-22
|
||||||
|
- OCaml 4.11.0 rebuild
|
||||||
|
|
||||||
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.8-21
|
||||||
|
- Second attempt - Rebuilt for
|
||||||
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.8-20
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon May 04 2020 Richard W.M. Jones <rjones@redhat.com> - 1.8.8-19
|
||||||
|
- OCaml 4.11.0+dev2-2020-04-22 rebuild
|
||||||
|
|
||||||
|
* Tue Apr 21 2020 Richard W.M. Jones <rjones@redhat.com> - 1.8.8-18
|
||||||
|
- OCaml 4.11.0 pre-release attempt 2
|
||||||
|
|
||||||
|
* Fri Apr 17 2020 Richard W.M. Jones <rjones@redhat.com> - 1.8.8-17
|
||||||
|
- OCaml 4.11.0 pre-release
|
||||||
|
|
||||||
|
* Thu Apr 02 2020 Richard W.M. Jones <rjones@redhat.com> - 1.8.8-16
|
||||||
|
- Update all OCaml dependencies for RPM 4.16.
|
||||||
|
|
||||||
|
* Wed Feb 26 2020 Richard W.M. Jones <rjones@redhat.com> - 1.8.8-15
|
||||||
|
- OCaml 4.10.0 final.
|
||||||
|
|
||||||
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.8-14
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Jan 19 2020 Richard W.M. Jones <rjones@redhat.com> - 1.8.8-13
|
||||||
|
- OCaml 4.10.0+beta1 rebuild.
|
||||||
|
|
||||||
|
* Thu Jan 09 2020 Richard W.M. Jones <rjones@redhat.com> - 1.8.8-12
|
||||||
|
- OCaml 4.09.0 for riscv64
|
||||||
|
|
||||||
|
* Fri Dec 06 2019 Richard W.M. Jones <rjones@redhat.com> - 1.8.8-11
|
||||||
|
- OCaml 4.09.0 (final) rebuild.
|
||||||
|
|
||||||
|
* Fri Aug 16 2019 Richard W.M. Jones <rjones@redhat.com> - 1.8.8-10
|
||||||
|
- OCaml 4.08.1 (final) rebuild.
|
||||||
|
|
||||||
|
* Sat Aug 10 2019 Richard W.M. Jones <rjones@redhat.com> - 1.8.8-9
|
||||||
|
- Rebuild against new ocaml-lablgtk.
|
||||||
|
|
||||||
|
* Wed Jul 31 2019 Richard W.M. Jones <rjones@redhat.com> - 1.8.8-8
|
||||||
|
- OCaml 4.08.1 (rc2) rebuild.
|
||||||
|
|
||||||
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.8-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.8-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.8-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 11 2018 Richard W.M. Jones <rjones@redhat.com> - 1.8.8-4
|
||||||
|
- OCaml 4.07.0 (final) rebuild.
|
||||||
|
|
||||||
|
* Tue Jun 19 2018 Richard W.M. Jones <rjones@redhat.com> - 1.8.8-3
|
||||||
|
- OCaml 4.07.0-rc1 rebuild.
|
||||||
|
|
||||||
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.8-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Nov 08 2017 Richard W.M. Jones <rjones@redhat.com> - 1.8.8-1
|
||||||
|
- New upstream version 1.8.8.
|
||||||
|
|
||||||
|
* Tue Nov 07 2017 Richard W.M. Jones <rjones@redhat.com> - 1.8.7-11
|
||||||
|
- OCaml 4.06.0 rebuild.
|
||||||
|
|
||||||
|
* Mon Aug 07 2017 Richard W.M. Jones <rjones@redhat.com> - 1.8.7-10
|
||||||
|
- OCaml 4.05.0 rebuild.
|
||||||
|
|
||||||
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.7-9
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.7-8
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jun 26 2017 Richard W.M. Jones <rjones@redhat.com> - 1.8.7-7
|
||||||
|
- OCaml 4.04.2 rebuild.
|
||||||
|
|
||||||
|
* Fri May 12 2017 Richard W.M. Jones <rjones@redhat.com> - 1.8.7-6
|
||||||
|
- Bump release and rebuild.
|
||||||
|
|
||||||
|
* Thu May 11 2017 Richard W.M. Jones <rjones@redhat.com> - 1.8.7-5
|
||||||
|
- OCaml 4.04.1 rebuild.
|
||||||
|
|
||||||
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.7-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Nov 09 2016 Dan Horák <dan@danny.cz> - 1.8.7-3
|
||||||
|
- rebuild for s390x codegen bug
|
||||||
|
|
||||||
|
* Sun Nov 06 2016 Richard W.M. Jones <rjones@redhat.com> - 1.8.7-2
|
||||||
|
- Rebuild for OCaml 4.04.0.
|
||||||
|
|
||||||
|
* Sat Apr 16 2016 Jerry James <loganjerry@gmail.com> - 1.8.7-1
|
||||||
|
- New upstream release
|
||||||
|
|
||||||
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.6-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jul 28 2015 Richard W.M. Jones <rjones@redhat.com> - 1.8.6-5
|
||||||
|
- OCaml 4.02.3 rebuild.
|
||||||
|
|
||||||
|
* Wed Jul 22 2015 Richard W.M. Jones <rjones@redhat.com> - 1.8.6-4
|
||||||
|
- Enable bytecode builds.
|
||||||
|
|
||||||
|
* Wed Jun 24 2015 Richard W.M. Jones <rjones@redhat.com> - 1.8.6-3
|
||||||
|
- ocaml-4.02.2 final rebuild.
|
||||||
|
|
||||||
|
* Wed Jun 17 2015 Richard W.M. Jones <rjones@redhat.com> - 1.8.6-2
|
||||||
|
- ocaml-4.02.2 rebuild.
|
||||||
|
|
||||||
|
* Wed Mar 18 2015 Jerry James <loganjerry@gmail.com> - 1.8.6-1
|
||||||
|
- New upstream release
|
||||||
|
- Reenable documentation generation
|
||||||
|
|
||||||
|
* Mon Feb 16 2015 Richard W.M. Jones <rjones@redhat.com> - 1.8.5-10
|
||||||
|
- ocaml-4.02.1 rebuild.
|
||||||
|
|
||||||
|
* Thu Oct 30 2014 Jerry James <loganjerry@gmail.com> - 1.8.5-9
|
||||||
|
- Rebuild for new ocaml-lablgtk
|
||||||
|
- Fix license handling
|
||||||
|
|
||||||
|
* Sat Aug 30 2014 Richard W.M. Jones <rjones@redhat.com> - 1.8.5-8
|
||||||
|
- ocaml-4.02.0 final rebuild.
|
||||||
|
|
||||||
|
* Sat Aug 23 2014 Richard W.M. Jones <rjones@redhat.com> - 1.8.5-7
|
||||||
|
- ocaml-4.02.0+rc1 rebuild.
|
||||||
|
|
||||||
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.5-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Aug 01 2014 Richard W.M. Jones <rjones@redhat.com> - 1.8.5-5
|
||||||
|
- ocaml-4.02.0-0.8.git10e45753.fc22 rebuild.
|
||||||
|
|
||||||
|
* Wed Jul 23 2014 Richard W.M. Jones <rjones@redhat.com> - 1.8.5-4
|
||||||
|
- OCaml 4.02.0 beta rebuild.
|
||||||
|
- Disable documentation generation.
|
||||||
|
|
||||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.5-2
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.5-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
--- Makefile.in.orig 2014-04-04 06:45:43.000000000 -0600
|
--- Makefile.in.orig 2015-01-23 00:24:01.000000000 -0700
|
||||||
+++ Makefile.in 2014-04-21 12:00:00.000000000 -0600
|
+++ Makefile.in 2015-03-17 20:00:00.000000000 -0600
|
||||||
@@ -422,16 +422,13 @@
|
@@ -426,16 +426,13 @@
|
||||||
ifeq (@LABLGNOMECANVAS@,yes)
|
ifeq (@LABLGNOMECANVAS@,yes)
|
||||||
$(OCAMLFIND) install ocamlgraph META \
|
$(OCAMLFIND) install $(OCAMLFINDDEST) ocamlgraph META \
|
||||||
$(SRCDIR)/*.mli $(VIEWER_DIR)/*.mli $(DGRAPH_DIR)/*.mli \
|
$(SRCDIR)/*.mli $(VIEWER_DIR)/*.mli $(DGRAPH_DIR)/*.mli \
|
||||||
- graph$(OBJEXT) graph$(LIBEXT) graph.cmx graph.cmo graph.cmi \
|
- graph$(OBJEXT) graph$(LIBEXT) graph.cmx graph.cmo graph.cmi \
|
||||||
- $(CMA) $(CMXA) \
|
- $(CMA) $(CMXA) \
|
||||||
@ -14,7 +14,7 @@
|
|||||||
+ $(VIEWER_CMOLIB) $(VIEWER_CMILIB) \
|
+ $(VIEWER_CMOLIB) $(VIEWER_CMILIB) \
|
||||||
+ $(DGRAPH_CMOLIB) $(DGRAPH_CMILIB)
|
+ $(DGRAPH_CMOLIB) $(DGRAPH_CMILIB)
|
||||||
else
|
else
|
||||||
$(OCAMLFIND) install ocamlgraph META \
|
$(OCAMLFIND) install $(OCAMLFINDDEST) ocamlgraph META \
|
||||||
$(SRCDIR)/*.mli $(VIEWER_DIR)/*.mli $(DGRAPH_DIR)/*.mli \
|
$(SRCDIR)/*.mli $(VIEWER_DIR)/*.mli $(DGRAPH_DIR)/*.mli \
|
||||||
- graph$(LIBEXT) graph.cmx graph.cmo graph.cmi $(CMA) $(CMXA)
|
- graph$(LIBEXT) graph.cmx graph.cmo graph.cmi $(CMA) $(CMXA)
|
||||||
+ graph.cmo graph.cmi $(CMA)
|
+ graph.cmo graph.cmi $(CMA)
|
10
ocamlgraph-1.8.7-fix-tests.patch
Normal file
10
ocamlgraph-1.8.7-fix-tests.patch
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
--- ocamlgraph-1.8.7/tests/test_clique.ml~ 2016-04-12 07:47:33.000000000 +0100
|
||||||
|
+++ ocamlgraph-1.8.7/tests/test_clique.ml 2016-11-06 19:49:38.527278156 +0000
|
||||||
|
@@ -1,5 +1,7 @@
|
||||||
|
(* Test file for Brom-Kerbosch *)
|
||||||
|
|
||||||
|
+#directory ".";;
|
||||||
|
+
|
||||||
|
open Graph
|
||||||
|
|
||||||
|
module G = Persistent.Graph.Concrete (struct
|
@ -1,30 +1,6 @@
|
|||||||
mkdir -p bin
|
mkdir -p bin
|
||||||
ocamlopt.opt -o bin/test-ts unix.cmxa graph.cmxa tests/test_topsort.ml
|
ocamlopt.opt -o bin/test-ts unix.cmxa graph.cmxa tests/test_topsort.ml
|
||||||
ocaml graph.cma tests/check.ml
|
ocaml -I . graph.cma tests/test_clique.ml tests/check.ml
|
||||||
iter:
|
|
||||||
pre 3
|
|
||||||
pre 5
|
|
||||||
pre 4
|
|
||||||
pre 2
|
|
||||||
post 2
|
|
||||||
post 4
|
|
||||||
post 5
|
|
||||||
pre 6
|
|
||||||
post 6
|
|
||||||
post 3
|
|
||||||
prefix:
|
|
||||||
pre 3
|
|
||||||
pre 6
|
|
||||||
pre 5
|
|
||||||
pre 4
|
|
||||||
pre 2
|
|
||||||
step:
|
|
||||||
visit 6
|
|
||||||
visit 5
|
|
||||||
visit 4
|
|
||||||
visit 2
|
|
||||||
visit 3
|
|
||||||
visit 1
|
|
||||||
bin/test-ts 10
|
bin/test-ts 10
|
||||||
0 1 2
|
0 1 2
|
||||||
x=0 y=0 num(x)=1 num(y)=1
|
x=0 y=0 num(x)=1 num(y)=1
|
||||||
|
Loading…
Reference in New Issue
Block a user