diff options
author | Sebastien Braun | 2010-10-03 16:14:44 +0200 |
---|---|---|
committer | Sebastien Braun | 2010-10-03 16:14:44 +0200 |
commit | ffee0868ef1341cfb7622821431cb73c52590962 (patch) | |
tree | bc96be65e0346ea25a8effb2118de59b08d54466 /OpenPGMConfig.cmake | |
parent | Add patch for OpenPGM to fix switch() fallthrough (diff) | |
download | pvs-ffee0868ef1341cfb7622821431cb73c52590962.tar.gz pvs-ffee0868ef1341cfb7622821431cb73c52590962.tar.xz pvs-ffee0868ef1341cfb7622821431cb73c52590962.zip |
Assorted Multicast Fixes:
- Upgrade bundled OpenPGM to SVN r1135
- Timing fixes: Make all rate-limited and timer-pending operation wait
for at least 1ms to avoid busy-waiting
- No distinction between sending and receiving sockets when setting
up socket options (Receivers need to be able to send anyway when
using PGMCC).
- Switch from fixed-rate transmission to using PGMCC for congestion
control.
- Remove some obnoxious debugging outputs
- Some white space fixes
- Introduce a short waiting time before actually starting file transmission
in order to allow enough SPM messages to be sent so that receivers
can initialize properly.
- Fix MCASTFTANNOUNCE message to include full file name instead of basename.
- Fix generateMcastTransferID in order to gather more random IDs. PVSGUI
may become confused if transfer IDs are reused.
- Properly dispose of clientFileReceiveDialog when multicast transfer is
finished.
- Properly display transfer size in clientFileReceiveDialog
Diffstat (limited to 'OpenPGMConfig.cmake')
-rw-r--r-- | OpenPGMConfig.cmake | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/OpenPGMConfig.cmake b/OpenPGMConfig.cmake index 2729590..fe719f8 100644 --- a/OpenPGMConfig.cmake +++ b/OpenPGMConfig.cmake @@ -1,6 +1,6 @@ # Set up build SET(pgm_VERSION - svn-r1085 + svn-r1135 ) INCLUDE(${CMAKE_ROOT}/Modules/FindPkgConfig.cmake) @@ -14,8 +14,7 @@ IF(UNIX) IF(CMAKE_COMPILER_IS_GNUCC) # The scripts are fine for Linux/GCC, other platforms may or may # not work. - SET(LIBPGM_CFLAGS - -std=gnu99 + SET(LIBPGM_DEFINITIONS -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_REENTRANT @@ -41,6 +40,14 @@ IF(UNIX) -DCONFIG_BIND_INADDR_ANY -DCONFIG_GALOIS_MUL_LUT -DCONFIG_HAVE_GETOPT + ) + SET(LIBPGM_CFLAGS + -std=gnu99 + ${LIBPGM_DEFINITIONS} + ) + SET(LIBPGM_CXXFLAGS + -std=gnu++98 + ${LIBPGM_DEFINITIONS} ) SET(LIBPGM_LIBRARIES |