Skip to content

Commit d82f047

Browse files
ferdymercuryguitargeek
authored andcommitted
[cmake,config,etc,misc] rename CINT to Cling
1 parent 60cb356 commit d82f047

File tree

7 files changed

+11
-33
lines changed

7 files changed

+11
-33
lines changed

cmake/modules/CTestCustom.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ set(CTEST_CUSTOM_WARNING_EXCEPTION ${CTEST_CUSTOM_WARNING_EXCEPTION}
2222
"note: variable tracking size limit exceeded" # vc/tests/sse_blend.cpp
2323
"warning is a GCC extension"
2424
"bug in GCC 4.8.1"
25-
"warning: please use fgets or getline instead" # deprecated use of std functions cint/ROOT
26-
"is dangerous, better use" # deprecated use of std functions cint/ROOT
27-
"function is dangerous and should not be used" # deprecated use of std functions cint/ROOT
25+
"warning: please use fgets or getline instead" # deprecated use of std functions Cling/ROOT
26+
"is dangerous, better use" # deprecated use of std functions Cling/ROOT
27+
"function is dangerous and should not be used" # deprecated use of std functions Cling/ROOT
2828
)
2929
set(CTEST_CUSTOM_ERROR_EXCEPTION ${CTEST_CUSTOM_ERROR_EXCEPTION}
3030
"fatal error: cannot open file"

cmake/modules/RootConfiguration.cmake

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ foreach(v 0 OFF NO FALSE N IGNORE off no false n ignore)
1717
set(value${v} no)
1818
endforeach()
1919

20-
set(ROOT_DICTTYPE cint)
2120
#set(ROOT_CONFIGARGS "")
2221
set(top_srcdir ${CMAKE_SOURCE_DIR})
2322
set(top_builddir ${CMAKE_BINARY_DIR})
@@ -105,11 +104,6 @@ if(IS_ABSOLUTE ${CMAKE_INSTALL_ICONDIR})
105104
else()
106105
set(iconpath ${prefix}/${CMAKE_INSTALL_ICONDIR})
107106
endif()
108-
if(IS_ABSOLUTE ${CMAKE_INSTALL_CINTINCDIR})
109-
set(cintincdir ${CMAKE_INSTALL_CINTINCDIR})
110-
else()
111-
set(cintincdir ${prefix}/${CMAKE_INSTALL_CINTINCDIR})
112-
endif()
113107
if(IS_ABSOLUTE ${CMAKE_INSTALL_DOCDIR})
114108
set(docdir ${CMAKE_INSTALL_DOCDIR})
115109
else()
@@ -280,7 +274,6 @@ set(curseslib ${CURSES_LIBRARIES})
280274
set(curseshdr ${CURSES_HEADER_FILE})
281275
set(buildeditline ${value${editline}})
282276
set(cppunit)
283-
set(dicttype ${ROOT_DICTTYPE})
284277

285278

286279
find_program(PERL_EXECUTABLE perl)

cmake/modules/RootInstallDirs.cmake

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
# DATADIR - read-only architecture-independent data (DATAROOTDIR/root)
1515
# MANDIR - man documentation (DATAROOTDIR/man)
1616
# MACRODIR - ROOT macros (DATAROOTDIR/macros)
17-
# CINTINCDIR - CINT include files (LIBDIR/cint)
1817
# ICONDIR - icons (DATAROOTDIR/icons)
1918
# SRCDIR - sources (DATAROOTDIR/src)
2019
# FONTDIR - fonts (DATAROOTDIR/fonts)
@@ -93,15 +92,6 @@ endif()
9392
# the cache and store the defaults in local variables if the cache values are
9493
# not set explicitly. This auto-updates the defaults as DATAROOTDIR changes.
9594

96-
if(NOT CMAKE_INSTALL_CINTINCDIR)
97-
if(gnuinstall)
98-
set(CMAKE_INSTALL_CINTINCDIR "" CACHE PATH "cint includes and libraries libraries (LIBDIR/cint)")
99-
set(CMAKE_INSTALL_CINTINCDIR "${CMAKE_INSTALL_LIBDIR}/cint")
100-
else()
101-
set(CMAKE_INSTALL_CINTINCDIR "cint" CACHE PATH "cint includes and libraries libraries (cint)")
102-
endif()
103-
endif()
104-
10595
if(NOT CMAKE_INSTALL_DATADIR)
10696
set(CMAKE_INSTALL_DATADIR "" CACHE PATH "read-only architecture-independent data (DATAROOTDIR)/root")
10797
if(gnuinstall)
@@ -213,7 +203,6 @@ mark_as_advanced(
213203
CMAKE_INSTALL_DATAROOTDIR
214204
CMAKE_INSTALL_DATADIR
215205
CMAKE_INSTALL_MACRODIR
216-
CMAKE_INSTALL_CINTINCDIR
217206
CMAKE_INSTALL_ICONDIR
218207
CMAKE_INSTALL_FONTDIR
219208
CMAKE_INSTALL_SRCDIR
@@ -233,7 +222,6 @@ foreach(dir BINDIR
233222
DATAROOTDIR
234223
DATADIR
235224
MACRODIR
236-
CINTINCDIR
237225
ICONDIR
238226
FONTDIR
239227
SRCDIR

cmake/modules/RootMacros.cmake

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ function(ROOT_GENERATE_DICTIONARY dictionary)
627627
#---what rootcling command to use--------------------------
628628
if(ARG_STAGE1)
629629
set(command $<TARGET_FILE:rootcling_stage1>)
630-
set(ROOTCINTDEP rconfigure)
630+
set(ROOTCLINGDEP rconfigure)
631631
set(pcm_name)
632632
else()
633633
if(CMAKE_PROJECT_NAME STREQUAL ROOT)
@@ -636,7 +636,7 @@ function(ROOT_GENERATE_DICTIONARY dictionary)
636636
else()
637637
set(command ${CMAKE_COMMAND} -E env "ROOTIGNOREPREFIX=1" $<TARGET_FILE:rootcling> -rootbuild)
638638
# Modules need RConfigure.h copied into include/.
639-
set(ROOTCINTDEP rootcling rconfigure)
639+
set(ROOTCLINGDEP rootcling rconfigure)
640640
endif()
641641
elseif(TARGET ROOT::rootcling)
642642
set(command $<TARGET_FILE:ROOT::rootcling>)
@@ -694,7 +694,7 @@ function(ROOT_GENERATE_DICTIONARY dictionary)
694694
ROOT_PCM_FILENAME "${cpp_module_file}")
695695
endif()
696696

697-
#---call rootcint------------------------------------------
697+
#---call rootcling------------------------------------------
698698
add_custom_command(
699699
OUTPUT ${dictionary}.cxx ${pcm_name} ${rootmap_name} ${cpp_module_file}
700700
COMMAND ${command} -v2 -f ${dictionary}.cxx ${newargs} ${excludepathsargs} ${rootmapargs}
@@ -709,7 +709,7 @@ function(ROOT_GENERATE_DICTIONARY dictionary)
709709
# dictionaries will be rebuilt if the C++ standard is changed in an incremental build.
710710
-DR__DUMMY_CXX_STANDARD_${CMAKE_CXX_STANDARD}
711711
IMPLICIT_DEPENDS ${_implicitdeps}
712-
DEPENDS ${_list_of_header_dependencies} ${_linkdef} ${ROOTCINTDEP}
712+
DEPENDS ${_list_of_header_dependencies} ${_linkdef} ${ROOTCLINGDEP}
713713
${pcm_dependencies}
714714
${MODULE_LIB_DEPENDENCY} ${ARG_EXTRA_DEPENDENCIES}
715715
${runtime_cxxmodule_dependencies}

config/rootrc.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ Rint.History: $(HOME)/.root_hist
352352
# Rint.WelcomeLite: no
353353
# When the interactive ROOT starts, it can automatically load some frequently
354354
# used includes. However, this introduces several overheads
355-
# - A long list of CINT and system files will be kept open during the session
355+
# - A long list of Cling and system files will be kept open during the session
356356
# - The initialisation takes more time (noticeable when using gdb or valgrind)
357357
# - Memory overhead of about 5 Mbytes (1/3 of the base ROOT executable) when
358358
# including <vector>

etc/gdb-backtrace.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,11 @@ fi
108108
# The recommendations are based on the following assumptions:
109109
# * More often than not, the crash is caused by user code.
110110
# * The crash can be caused by the user's interpreted code,
111-
# in which case sighandler() is called from CINT (G__...)
111+
# in which case sighandler() is called from Cling (G__...)
112112
# * The crash can be called by the user's library code,
113-
# in which case sighandler() is called from non-CINT and
113+
# in which case sighandler() is called from non-Cling and
114114
# it's worth dumping the stack frames.
115-
# * The user doesn't call CINT directly, so whenever we reach
115+
# * The user doesn't call Cling directly, so whenever we reach
116116
# a stack frame with "G__" we can stop.
117117
# * The crash is caused by only one thread, the one which
118118
# invokes sighandler()

misc/win/makelib.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,6 @@ if [ "$R__PLATFORM" = "win32" ]; then
7373
cmd="$R__LD $R__SOFLAGS $R__LDFLAGS -o $dlldir/${name}.dll $R__OBJS \
7474
$libdir/${name}.exp $R__EXTRA $syslibs"
7575
else
76-
if [ "$(bin/root-config --dicttype)" != "cint" ]; then
77-
needReflex="lib/libCintex.lib lib/libReflex.lib"
78-
fi
7976
cmd="$R__LD $R__SOFLAGS $R__LDFLAGS -o $dlldir/${name}.dll $R__OBJS \
8077
$libdir/${name}.exp $R__EXTRA \
8178
$needReflex lib/libCore.lib lib/libCint.lib \

0 commit comments

Comments
 (0)