Fixed the linking of the BMWlibs under Cygwin by adding explicitly "-lgomp" to the linker-flags
which seems to be necessary for Cygwin and does not hurt under GNU/Linux.
This commit is contained in:
parent
20f61a8c2c
commit
a89c70ae84
@ -11,6 +11,7 @@ NEW any2many: an attempt to write the universial musr-data-file converter. Just
|
|||||||
NEW musrt0: added the possibility to show the t0 saved in the data file 's'. Furthermore added the option
|
NEW musrt0: added the possibility to show the t0 saved in the data file 's'. Furthermore added the option
|
||||||
--getT0FromPromptPeak, -g with <firstGoodBinOffset>: will, in non-interactive mode estimate the t0's from
|
--getT0FromPromptPeak, -g with <firstGoodBinOffset>: will, in non-interactive mode estimate the t0's from
|
||||||
the prompt peak and write it into the msr-file (MUSR-133).
|
the prompt peak and write it into the msr-file (MUSR-133).
|
||||||
|
FIXED linking of BMWlibs on Cygwin
|
||||||
FIXED various bugs in msr2data
|
FIXED various bugs in msr2data
|
||||||
FIXED 2 little annoying problems: (i) now it is possible to zoom down to the single bin in musrview.
|
FIXED 2 little annoying problems: (i) now it is possible to zoom down to the single bin in musrview.
|
||||||
(ii) when switching between data- and difference-view, the x-range doesn't change anymore.
|
(ii) when switching between data- and difference-view, the x-range doesn't change anymore.
|
||||||
|
@ -490,7 +490,7 @@ if test "${BUILD_BMW_LIBS}" = "1"; then
|
|||||||
SAVED_CXXFLAGS="$CXXFLAGS"
|
SAVED_CXXFLAGS="$CXXFLAGS"
|
||||||
CXXFLAGS="$CXXFLAGS -fopenmp"
|
CXXFLAGS="$CXXFLAGS -fopenmp"
|
||||||
SAVED_LIBSS="$LIBS"
|
SAVED_LIBSS="$LIBS"
|
||||||
LIBS="$LIBS -fopenmp"
|
LIBS="$LIBS -fopenmp -lgomp"
|
||||||
AC_SEARCH_LIBS([omp_get_num_procs], [gomp], [AC_DEFINE([HAVE_GOMP], [1], [Define to 1 if gomp is available])],
|
AC_SEARCH_LIBS([omp_get_num_procs], [gomp], [AC_DEFINE([HAVE_GOMP], [1], [Define to 1 if gomp is available])],
|
||||||
[CXXFLAGS="$SAVED_CXXFLAGS" LIBS="$SAVED_LIBS"], [])
|
[CXXFLAGS="$SAVED_CXXFLAGS" LIBS="$SAVED_LIBS"], [])
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user