Accepting request 690342 from home:seil0:branches:openSUSE:Factory

- Update to 0.16
  * The commentary from 11/05/2018 was wrong. The constraints were not
    reset to their natural order and remained randomized.
    The other thing that was missing was full contraint reorder without 
    separation into independent and dependent ones. The algorithm doesn't
    converge without it well.
  * An incorrect optimization to Jacobian Copy building code from #1938
    that resulted in corrupt data in multi-threaded execution mode was 
    fixed.
  * An unintended change from commit #1898 has been reverted.
    The QuickStep used to solve with randomized constraint order 
    each 8th iteration. The other iterations, the constraints 
    were reset to their natural order, as generated, with the dependent
    constraints gathered in reverse order at end (the reverse order is 
    somehow important). With the commit #1898 the constraints were
    randomly reordered each 8th iteration but then remained 
    in that randomized order and only were re-randomized on subsequent
    multiples of 8.
  * CMake support for project file generation has been added.
  * dxHashSpace::collide() has been changed to fault host program 
    if scene gets too large and causes integer overflow.
  * Memory and pointer size integer type use has been changed so that 
    internal typedefs are used instead of "_t" suffixed types.
  * Introduction of cooperative algorithms API. 
    L*D*LT cooperative factorization and linear equation system 
    cooperative solving have been implemented.
  * AtomicReadReorderBarrier, AtomicStore, AtomicStorePointer functions 
    have been added and some atomic function implementations have been 
    improved in OU.
- adjusted ode-iso-cpp.patch
- build with --enable-double-precision

OBS-URL: https://build.opensuse.org/request/show/690342
OBS-URL: https://build.opensuse.org/package/show/games/ode?expand=0&rev=8
This commit is contained in:
Michael Vetter 2019-04-01 13:59:10 +00:00 committed by Git OBS Bridge
parent 9884c96788
commit 0f95383a06
5 changed files with 61 additions and 26 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2eaebb9f8b7642815e46227956ca223806f666acd11e31708bd030028cf72bac
size 2520248

3
ode-0.16.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4ba3b76f9c1314160de483b3db92b0569242a07452cbb25b368e75deb3cabf27
size 2626240

View File

@ -1,36 +1,36 @@
diff -Nur ode-0.13/ode/demo/demo_jointPR.cpp new/ode/demo/demo_jointPR.cpp
--- ode-0.13/ode/demo/demo_jointPR.cpp 2013-08-19 19:48:05.000000000 +0200
+++ new/ode/demo/demo_jointPR.cpp 2017-06-18 18:48:14.510435890 +0200
diff -Nur ode-0.16/ode/demo/demo_jointPR.cpp new/ode/demo/demo_jointPR.cpp
--- ode-0.16/ode/demo/demo_jointPR.cpp 2018-12-09 21:04:03.000000000 +0100
+++ new/ode/demo/demo_jointPR.cpp 2019-03-23 13:28:50.789647854 +0100
@@ -329,7 +329,7 @@
{
int j = i+1;
if ( j+1 > argc || // Check if we have enough arguments
- argv[j] == '\0' || // We should have a path here
+ argv[j] == NULL || // We should have a path here
if ( j >= argc || // Check if we have enough arguments
- argv[j][0] == '\0' || // We should have a path here
+ argv[j][0] == NULL || // We should have a path here
argv[j][0] == '-' ) // We should have a path not a command line
Help(argv);
else
diff -Nur ode-0.13/ode/demo/demo_jointPU.cpp new/ode/demo/demo_jointPU.cpp
--- ode-0.13/ode/demo/demo_jointPU.cpp 2013-12-06 22:52:14.000000000 +0100
+++ new/ode/demo/demo_jointPU.cpp 2017-06-18 18:48:27.954554880 +0200
@@ -579,7 +579,7 @@
diff -Nur ode-0.16/ode/demo/demo_jointPU.cpp new/ode/demo/demo_jointPU.cpp
--- ode-0.16/ode/demo/demo_jointPU.cpp 2018-12-09 21:04:03.000000000 +0100
+++ new/ode/demo/demo_jointPU.cpp 2019-03-23 13:29:20.649522656 +0100
@@ -576,7 +576,7 @@
if (0 == strcmp ("-t", argv[i]) || 0 == strcmp ("--texture-path", argv[i]) ) {
int j = i+1;
if ( j+1 > argc || // Check if we have enough arguments
- argv[j] == '\0' || // We should have a path here
+ argv[j] == NULL || // We should have a path here
if ( j >= argc || // Check if we have enough arguments
- argv[j][0] == '\0' || // We should have a path here
+ argv[j][0] == NULL || // We should have a path here
argv[j][0] == '-' ) // We should have a path not a command line
Help (argv);
else
diff -Nur ode-0.13/ode/demo/demo_piston.cpp new/ode/demo/demo_piston.cpp
--- ode-0.13/ode/demo/demo_piston.cpp 2013-08-19 19:48:05.000000000 +0200
+++ new/ode/demo/demo_piston.cpp 2017-06-18 18:42:38.681453156 +0200
diff -Nur ode-0.16/ode/demo/demo_piston.cpp new/ode/demo/demo_piston.cpp
--- ode-0.16/ode/demo/demo_piston.cpp 2018-12-09 21:04:03.000000000 +0100
+++ new/ode/demo/demo_piston.cpp 2019-03-23 13:29:39.781442132 +0100
@@ -659,7 +659,7 @@
{
int j = i+1;
if ( j+1 > argc || // Check if we have enough arguments
- argv[j] == '\0' || // We should have a path here
+ argv[j] == NULL || // We should have a path here
if ( j >= argc || // Check if we have enough arguments
- argv[j][0] == '\0' || // We should have a path here
+ argv[j][0] == NULL || // We should have a path here
argv[j][0] == '-' ) // We should have a path not a command line
Help (argv);
else

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sat Mar 23 12:19:02 UTC 2019 - Jannik Seiler <seil0@mosad.xyz>
- Update to 0.16
* The commentary from 11/05/2018 was wrong. The constraints were not
reset to their natural order and remained randomized.
The other thing that was missing was full contraint reorder without
separation into independent and dependent ones. The algorithm doesn't
converge without it well.
* An incorrect optimization to Jacobian Copy building code from #1938
that resulted in corrupt data in multi-threaded execution mode was
fixed.
* An unintended change from commit #1898 has been reverted.
The QuickStep used to solve with randomized constraint order
each 8th iteration. The other iterations, the constraints
were reset to their natural order, as generated, with the dependent
constraints gathered in reverse order at end (the reverse order is
somehow important). With the commit #1898 the constraints were
randomly reordered each 8th iteration but then remained
in that randomized order and only were re-randomized on subsequent
multiples of 8.
* CMake support for project file generation has been added.
* dxHashSpace::collide() has been changed to fault host program
if scene gets too large and causes integer overflow.
* Memory and pointer size integer type use has been changed so that
internal typedefs are used instead of "_t" suffixed types.
* Introduction of cooperative algorithms API.
L*D*LT cooperative factorization and linear equation system
cooperative solving have been implemented.
* AtomicReadReorderBarrier, AtomicStore, AtomicStorePointer functions
have been added and some atomic function implementations have been
improved in OU.
- adjusted ode-iso-cpp.patch
- build with --enable-double-precision
-------------------------------------------------------------------
Thu Nov 9 15:11:32 UTC 2017 - aavindraa@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package ode
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,10 +16,10 @@
#
%define so_maj 6
%define so_maj 8
%define lname libode%{so_maj}
Name: ode
Version: 0.15.2
Version: 0.16
Release: 0
Summary: Open Dynamics Engine Library
License: LGPL-2.1+ OR BSD-3-Clause OR Zlib
@ -80,7 +80,7 @@ CFLAGS="%{optflags} -fno-strict-aliasing"
CXXFLAGS="$CFLAGS"
export CFLAGS CXXFLAGS
export X_LIBS="-lX11"
%configure --enable-shared --disable-static
%configure --enable-shared --disable-static --enable-double-precision
make V=1 %{?_smp_mflags}
%install