Skip to content

Commit a5ec5f9

Browse files
committed
Merge pull request #53 from sorenhein/master
Cumulative update from v2.8.2 to v2.8.3
2 parents 6f2aea9 + ec48b81 commit a5ec5f9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+19465
-18586
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,13 @@
33
*.a
44
*.dll
55
*.obj
6-
*.exe
76
*.def
87
src/[Mm]akefile
98
test/[Mm]akefile
109
examples/[Mm]akefile
1110
test/dtest
1211
test/itest
12+
13+
*.exe
14+
*.swp
15+
*.bak

ChangeLog

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,30 @@
1+
Release Notes DDS 2.8.3
2+
-----------------------
3+
Fixed bug in Scheduler that caused a crash in case 200 very similar
4+
hands were solved in one invocation. If you didn't experience
5+
crashes, you don't have to upgrade for this bug fix.
6+
7+
Generalized the AnalysePlay functions. Previously they required
8+
a complete 13-trick hand with no cards played in a partial trick.
9+
Now they work for any number of remaining tricks and for partial
10+
tricks as well.
11+
12+
Included Pierre Cossard's code for using GDC multi-threading with
13+
Apple's LLVM compiler on the Mac.
14+
15+
Added a Makefile for compiling a shared library on the Mac.
16+
17+
Added a GetDDSInfo interface function that can be used to ask the
18+
DLL how it was compiled and how many threads it is using.
19+
20+
Modified the documentation names not to include the version number
21+
in the file names (easier to maintain).
22+
23+
Updated the documentation to fix an error (the playTracePBN
24+
structure uses an array of chars, not an array of ints; this was
25+
correct in dll.h). Also described pass as a valid par score.
26+
27+
128
Release Notes DDS 2.8.2
229
-----------------------
330
Fixed bug in the calculation of par score contracts (par score

INSTALL

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,11 @@ Compiler: g++
105105
Apple
106106
=====
107107
Makefile: Makefile_Mac_clang (for clang compiler, single-threaded)
108-
Makefile: Makefile_Mac_clang (for GNU g++ compiler, multi-threaded)
109108
Compiler: g++
109+
Supports both OpenMP and GDD multi-threading.
110+
111+
Makefile: Makefile_Mac_gcc (for GNU g++ compiler, multi-threaded)
112+
Makefile: Makefile_Mac_shared (for GNU g++ compiler, multi-threaded)
110113

111114

112115
Testing

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ DDS offers a wide range of functions, including par-score calculations.
66

77
Please refer to the [home page](http://privat.bahnhof.se/wb758135) for details.
88

9-
The current version is DDS 2.8.2 released in June 2015 and licensed under the Apache 2.0 license in the LICENSE FILE.
9+
The current version is DDS 2.8.3 released in January 2016 and licensed under the Apache 2.0 license in the LICENSE FILE.
1010

1111
Release notes are in the ChangeLog file.
1212

13-
(c) Bo Haglund 2006-2014, (c) Bo Haglund / Soren Hein 2014-2015.
13+
(c) Bo Haglund 2006-2014, (c) Bo Haglund / Soren Hein 2014-2016.
1414

1515

1616
Credits
@@ -25,6 +25,8 @@ Brian Dickens found bugs in v2.7 and encouraged us to look at GitHub. He also s
2525

2626
Foppe Hemminga maintains DDS on ArchLinux. He also contributed a version of the documentation file completely in .md mark-up language.
2727

28+
Pierre Cossard contributed the code for multi-threading on the Mac using GDS.
29+
2830
Soren Hein made a number of contributions before becoming a co-author starting in v2.8 in 2014.
2931

3032

@@ -59,16 +61,17 @@ The Windows versions use the Windows multi-threading. The code compiles on wind
5961
We have also compiled the code and/or had help from other contributors on the following systems.
6062

6163
* Linux Ubuntu with g++ and with OpenMP multi-threading.
62-
* Mac OS 10.9 with g++ and with OpenMP multi-threading. Also with clang without multi-threading.
64+
* Mac OS 10.9 with g++ and with OpenMP multi-threading. Also with clang without multi-threading. Also with GCD multi-threading compiling with LLVM.
6365

64-
Here the libraries are `.a` files, not DLLs. We might also make `.so` libraries in the future.
66+
Here the libraries are `.a` files, not DLLs. There are also Makefiles for shared libraries available.
6567

6668
Note that Apple stopped using g++ in Xcode a while back, DDS does compile using the clang compiler, but since DDS does not support pthreads multi-threading, DDS becomes single-threaded. To get OpenMP multi-threading you need to use the Homebrew installer and do:
6769

6870
brew reinstall gcc --without-multilib
6971

7072
The `without-multilib` is important because you won't get OpenMP otherwise, and that's the whole point. *(Thanks to Matthew Kidd for these instructions.)*
7173

74+
Thanks for Pierre Cossard's contribution, the Mac port now also supports GCD multi-threading with LLVM.
7275

7376
Usage
7477
=====
@@ -83,7 +86,7 @@ The DDS library interface is very well documented. You find the docs, including
8386

8487
Bugs
8588
====
86-
Version 2.8.2 has no known bugs.
89+
Version 2.8.3 has no known bugs.
8790

8891
Please report bugs to [email protected] and [email protected].
8992

File renamed without changes.
Lines changed: 1358 additions & 1373 deletions
Large diffs are not rendered by default.
File renamed without changes.

0 commit comments

Comments
 (0)