Commit Graph
44 Commits
Author SHA1 Message Date
suter_aandClaude Sonnet 4.6 471b928622 Fix macOS 26 CLING runtime dictionary errors caused by Homebrew/SDK header conflicts
macOS 26 (Darwin 25.5.0) introduced stricter Clang module map rules in
DarwinFoundation1.modulemap: the '_c_standard_library_obsolete' module
now requires the 'found_incompatible_headers__check_search_paths' feature,
which CLING's runtime interpreter does not set. When fftw3.h (from
/opt/homebrew/include) was parsed by CLING via the inlined PStartupHandler
dictionary payload, it triggered this module map error, causing all
PStartupHandler signal/slot connections to fail.

Two fixes:
- PMusr.h: guard '#include "fftw3.h"' with '#ifndef __CLING__'. No fftw
  types appear in PMusr.h class definitions, so CLING does not need it
  for reflection. This is the primary runtime fix.
- CMakeLists.txt (src/classes and all src/external libs): replace
  '-I${FFTW3_INCLUDE}', '-I${Boost_INCLUDE_DIRS}', '-I${GSL_INCLUDE_DIRS}',
  and '-I${ROOT_INCLUDE_DIRS}' with '-isystem' in all root_generate_dictionary
  OPTIONS blocks, and change 'include_directories(${FFTW3_INCLUDE})' to
  'include_directories(SYSTEM ...)'. Internal project paths (MUSRFIT_INC,
  BMW_TOOLS_INC, NONLOCAL_INC, CMAKE_CURRENT_SOURCE_DIR, etc.) keep '-I'.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-27 14:06:11 +02:00
suter_a 53ec95db6e work on cleaner cmake. 2026-04-15 20:29:55 +02:00
suter_a 4de660788d updated the copyright info.
Build and Deploy Documentation / build-and-deploy (push) Successful in 26s
2026-01-25 07:42:29 +01:00
suter_a 3442ca7b62 adopted from AFS to NFS.
Build and Deploy Documentation / build-and-deploy (push) Successful in 20s
2025-12-24 14:03:44 +01:00
suter_a 4a20d805dd updated the copyright info. 2025-01-30 11:15:42 +01:00
suter_a 79c8be54bf update of the copyright info. 2024-02-03 19:58:11 +01:00
suter_a af13e78c52 more work on Raw -> Smart Pointers for external libs. 2023-10-27 23:23:19 +02:00
suter_a fe32046c21 updated the copyright info. 2023-01-05 10:24:31 +01:00
suter_a ae7f1a2168 more work towards a modern cmake. As a first example reworked FFTW3 binding. 2022-07-01 16:18:24 +02:00
suter_a 137a3f17c9 move on to modernize towards modern c++. 2022-05-31 12:32:58 +02:00
suter_a 72c085a0a8 make PRgeHandler to a shared libs. Adopted Nonlocal and PMagProximity accordingly. 2021-04-01 14:26:26 +02:00
suter_a e6e951e8f4 update the copyright info. 2021-03-29 08:22:38 +02:00
suter_a e8982410b0 adopted to the enforced changes by root 6.18.00. 2019-07-01 21:56:50 +02:00
suter_a 795cd75b1e modernized code to C++11 and newer.
This allows to analyze the code by external code analyzers. Since a lot is adopted,
the version is changed to 1.4.3
2019-04-16 15:34:49 +02:00
suter_a dbfeeddf3f Remove automake support
Since the cmake tool chain is now stable, the automake tool chain is removed from musrfit.
This makes documentation and code less cluttered.
2019-03-08 12:50:41 +01:00
suter_a 29d35579a7 added the current source code path to root_generate_dictionary. 2019-02-04 19:43:31 +01:00
suter_a 3cb950277f cmake/cpack root dictionary issue fixed.
In order that package assembly works, the code needs to be relocatble
and any hints linking it to the original source need to be absent.
The changes here do exactely this. For rootcling the '-inlineInputHeader'
option is needed, otherwise the dictionary wants to load the header
file from the source destination which of course will fail when installing
the package on a machine without the source.
2019-02-01 16:05:24 +01:00
suter_a f3c58afa51 fixed wrong include path in the cmake infrastructure. 2018-11-05 10:16:51 +01:00
suter_a 55b5788506 added MODULE to root_generate_dictionary in order to get the proper name scheme. 2018-06-28 13:17:43 +02:00
suter_a 41a5e493eb cmake: added missing include path when generating the dictionary. 2018-06-06 17:39:00 +02:00
suter_a 4a881fad56 cleaned up signed/unsigned int issues. 2018-06-06 16:04:27 +02:00
suter_a 342da696db cmake: got rid of target_compile_options which are better controlled by the build type. 2018-06-06 13:09:39 +02:00
suter_a e4d56519b2 cmake: added optimization and at the same time added the beta-NMR lib. 2018-06-05 19:12:35 +02:00
suter_a 99e8eb9769 cmake: added library version information to the targets. 2018-06-02 12:41:13 +02:00
suter_a 5384da49e1 added missing includes and shared libs. 2018-05-06 15:58:47 +02:00
suter_a dbf9c930e6 added mag. proximity via cmake. 2018-05-05 21:33:03 +02:00
suter_a 5908d8791a back from __CLING__ to __CINT__ since the ROOT guys kept __CINT__ even though they are using cling?\! 2017-02-08 10:45:17 +01:00
suter_a ceb7aa6818 changed from legacy rootcint to the new rootcling ROOT dictionary generator. 2017-02-08 09:47:35 +01:00
suter_a 5e28f465a4 replace all __CINT__ by __CLING__. 2017-02-07 16:08:52 +01:00
suter_a 4fd610442d improved the CLEANFILES for ROOT6. 2015-10-28 13:56:16 +01:00
suter_a fec752182b added all ROOT6 .pcm files for installation 2015-01-17 17:53:17 +01:00
suter_a bbb8550f96 since we moved to git, I cleaned up the svn prop's from the sources and added a GIT_REVISION through git-revision.h 2014-02-12 12:43:32 +01:00
suter_a 1e6f1c45be fixed missing replacement of INCLUDES 2013-12-19 11:53:30 +00:00
suter_a 290816f996 upgrading Makefile.am's for more recent automake versions 2013-12-16 14:08:39 +00:00
suter_a f51152c4a3 config level fix for Mac OS X 10.9 (Mavericks). Optimize Noakes-Kalvius formulae. Update of docu. 2013-12-16 07:54:46 +00:00
suter_a 310eedf190 add N0 estimate to single histogram fit. Some improvements in musredit (see ChangLog) 2013-02-14 09:16:27 +00:00
Bastian M. Wojek 9398badf66 Added the '-f' option also to the creation of symbolic links to the user-function libraries under Cygwin 2011-08-09 09:27:14 +00:00
suter_a a05a6c86a8 added '-f' when linking under MacOSX 2011-08-08 21:31:58 +00:00
Bastian M. Wojek caa3fdfc12 * Define a function for the XML-reading workaround in order to clean up a bit.
For the moment we keep to copies of it -- one for the use within the various
  musrfit programs, one that can be used in user functions.

* musrt0 is now again activated in musrgui/musredit by default.
2011-06-23 11:00:09 +00:00
Bastian M. Wojek dc48ea9712 * Suggestion how to "solve" the XML-reading problems in certain environments:
A workaround has been implemented where it is not tried any more to "directly
  parse the file" but rather the file is read into a memory buffer which then
  is parsed.
  For further information, see MUSR-122.

* Fixed a linking problem when only shared libraries are built on Cygwin
  (introduced with the split-off of libPUserFcnBase).
2011-06-16 22:00:33 +00:00
Bastian M. Wojek 0191375a96 The previous approach did not work...
Needed to split off the userFcn part from libPMusr to be able to provide a shared library of it (under Cygwin).
2011-04-13 09:59:33 +00:00
Bastian M. Wojek 1024f5a28f Removed the user-function dependency on libPMusr
It should now be possible to build a static version of musrfit and shared libraries for the user functions.
This is needed on systems which do not support linking static libraries to shared ones (like Cygwin).
These changes still need to be tested on Cygwin, especially with user functions implementing the "global interface".
2011-04-13 08:18:14 +00:00
Bastian M. Wojek cb2ab44b63 Minor fixes 2011-03-17 13:57:10 +00:00
nemu d634a9286c added a magnetic proximity user function to the ASlibs 2011-03-10 11:45:02 +00:00