lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 0bb144d 5/6: Rename makefile variable: s/tool


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 0bb144d 5/6: Rename makefile variable: s/toolset/toolchain/
Date: Wed, 24 Apr 2019 16:47:18 -0400 (EDT)

branch: master
commit 0bb144dd6e96550b4f07cf999fa46c1c58e8e6b7
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Rename makefile variable: s/toolset/toolchain/
    
    The new name is standard nadsat; the old was, like, bezoomny.
---
 GNUmakefile    | 12 ++++++------
 bcc_5_5_1.make |  4 ++--
 como.make      |  4 ++--
 workhorse.make | 10 +++++-----
 4 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/GNUmakefile b/GNUmakefile
index b0ec944..8d6757f 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -172,8 +172,8 @@ $(srcdir)/local_options.make:: ;
 # the make command line. Of course, other build types may be defined.
 
 build_type ?= ship
-toolset ?= gcc
-build_dir := $(exec_prefix)/$(toolset)/build/$(build_type)
+toolchain ?= gcc
+build_dir := $(exec_prefix)/$(toolchain)/build/$(build_type)
 
 gpl_files := \
   COPYING \
@@ -205,7 +205,7 @@ MAKETARGET = \
                  localincludedir='$(localincludedir)' \
                         test_dir='$(test_dir)' \
                   touchstone_dir='$(touchstone_dir)' \
-                         toolset='$(toolset)' \
+                       toolchain='$(toolchain)' \
                       build_type='$(build_type)' \
                USE_SO_ATTRIBUTES='$(USE_SO_ATTRIBUTES)' \
                     yyyymmddhhmm='$(yyyymmddhhmm)' \
@@ -339,17 +339,17 @@ distclean mostlyclean maintainer-clean: clean
 # targets more clearly. To use an alternative like
 #   rm -rf $(build_dir)/../..
 # would be to invite disaster.
-ifneq ($(build_dir),$(exec_prefix)/$(toolset)/build/$(build_type))
+ifneq ($(build_dir),$(exec_prefix)/$(toolchain)/build/$(build_type))
   $(error Assertion failure: build directory misconfigured)
 endif
 
 .PHONY: clean
 clean: source_clean
-       -$(RM) --force --recursive $(exec_prefix)/$(toolset)/build/$(build_type)
+       -$(RM) --force --recursive 
$(exec_prefix)/$(toolchain)/build/$(build_type)
 
 .PHONY: clobber
 clobber: source_clean
-       -$(RM) --force --recursive $(exec_prefix)/$(toolset)/build
+       -$(RM) --force --recursive $(exec_prefix)/$(toolchain)/build
 
 .PHONY: raze
 raze: clobber
diff --git a/bcc_5_5_1.make b/bcc_5_5_1.make
index 6e28b19..60d481c 100644
--- a/bcc_5_5_1.make
+++ b/bcc_5_5_1.make
@@ -19,7 +19,7 @@
 # email: <address@hidden>
 # snail: Chicares, 186 Belle Woods Drive, Glastonbury CT 06033, USA
 
-toolset      := bcc
+toolchain    := bcc
 
 srcdir       := $(CURDIR)
 
@@ -239,7 +239,7 @@ bcc_5_5_1.make:: ;
          --file=$(srcdir)/GNUmakefile \
          --jobs=1 \
                                     srcdir='$(srcdir)' \
-                                   toolset='$(toolset)' \
+                                 toolchain='$(toolchain)' \
                                gcc_version='$(gcc_version)' \
                                 C_WARNINGS='$(C_WARNINGS)' \
                               CXX_WARNINGS='$(CXX_WARNINGS)' \
diff --git a/como.make b/como.make
index 1f8eabe..619d3fc 100644
--- a/como.make
+++ b/como.make
@@ -33,7 +33,7 @@
 # Cf.:
 # http://www-d0.fnal.gov/KAI/doc/UserGuide/faq.html#multiple_template_instance
 
-toolset      := como
+toolchain    := como
 
 srcdir       := $(CURDIR)
 
@@ -222,7 +222,7 @@ CXX := \
          --jobs=1 \
                                gcc_version='$(gcc_version)' \
                                     srcdir='$(srcdir)' \
-                                   toolset='$(toolset)' \
+                                 toolchain='$(toolchain)' \
                                 C_WARNINGS='$(C_WARNINGS)' \
                               CXX_WARNINGS='$(CXX_WARNINGS)' \
                           C_EXTRA_WARNINGS='$(C_EXTRA_WARNINGS)' \
diff --git a/workhorse.make b/workhorse.make
index 541e676..2346bb7 100644
--- a/workhorse.make
+++ b/workhorse.make
@@ -131,11 +131,11 @@ effective_default_target: $(default_targets)
 # $(subst): workaround for debian, whose MinGW-w64 identifies its
 # version 7.x.0 as "7.x-win32".
 
-ifeq (gcc,$(toolset))
+ifeq (gcc,$(toolchain))
   gcc_version   := $(subst -win32,.0,$(shell $(CXX)     -dumpversion))
 endif
 
-# These are defined even for toolsets other than gcc.
+# These are defined even for toolchains other than gcc.
 
 gnu_cpp_version := $(subst -win32,.0,$(shell $(GNU_CPP) -dumpversion))
 gnu_cxx_version := $(subst -win32,.0,$(shell $(GNU_CXX) -dumpversion))
@@ -177,7 +177,7 @@ wx_dir := $(localbindir)
 wx_config_script := wx-config
 
 # The conventional autotools usage...
-ifeq (gcc,$(toolset))
+ifeq (gcc,$(toolchain))
   wx_config_cxxflags := $(shell $(wx_config_script) --cxxflags)
   wx_config_libs     := $(shell $(wx_config_script) --libs)
   wx_config_basename := $(shell $(wx_config_script) --basename)
@@ -680,7 +680,7 @@ CXX_WARNINGS = \
 # speed penalty that can be overcome by increasing parallelism. There
 # seems to be no need for them with gcc-4.x, which uses less RAM.
 
-ifeq (gcc,$(toolset))
+ifeq (gcc,$(toolchain))
   ifeq (3.4.5,$(gcc_version))
     ggc_flags := --param ggc-min-expand=25 --param ggc-min-heapsize=32768
   endif
@@ -977,7 +977,7 @@ ALL_RCFLAGS  = $(REQUIRED_RCFLAGS)  $(RCFLAGS)
 # ELF symbol visibility, a feature for which significant benefits are
 # claimed:
 #   http://www.nedprod.com/programs/gccvisibility.html
-# And dll attributes would still be necessary for other toolsets,
+# And dll attributes would still be necessary for other toolchains,
 # which therefore aren't fully supported yet.
 #
 # However, 'libwx_new.a' continues to use classic dll attributes,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]