diff options
-rw-r--r-- | contrib/cmake/module.defs | 15 | ||||
-rw-r--r-- | contrib/cmake/module.rules | 2 | ||||
-rw-r--r-- | contrib/x265/module.defs | 2 | ||||
-rw-r--r-- | contrib/x265_10bit/module.defs | 2 | ||||
-rw-r--r-- | contrib/x265_12bit/module.defs | 2 | ||||
-rw-r--r-- | contrib/x265_8bit/module.defs | 2 | ||||
-rw-r--r-- | make/configure.py | 11 | ||||
-rw-r--r-- | make/include/main.defs | 10 |
8 files changed, 5 insertions, 41 deletions
diff --git a/contrib/cmake/module.defs b/contrib/cmake/module.defs deleted file mode 100644 index 15c822e9d..000000000 --- a/contrib/cmake/module.defs +++ /dev/null @@ -1,15 +0,0 @@ -$(eval $(call import.MODULE.defs,CMAKE,cmake)) -$(eval $(call import.CONTRIB.defs,CMAKE)) - -CMAKE.FETCH.url = https://download.handbrake.fr/handbrake/contrib/cmake-3.9.6.tar.gz -CMAKE.FETCH.url += https://cmake.org/files/v3.9/cmake-3.9.6.tar.gz -CMAKE.FETCH.sha256 = 7410851a783a41b521214ad987bb534a7e4a65e059651a2514e6ebfc8f46b218 - -CMAKE.CONFIGURE.deps = -CMAKE.CONFIGURE.shared = -CMAKE.CONFIGURE.static = -CMAKE.CONFIGURE.extra = --no-qt-gui - -ifeq (darwin,$(BUILD.system)) - CMAKE.CONFIGURE.extra += --system-curl -endif diff --git a/contrib/cmake/module.rules b/contrib/cmake/module.rules deleted file mode 100644 index fb046bdb9..000000000 --- a/contrib/cmake/module.rules +++ /dev/null @@ -1,2 +0,0 @@ -$(eval $(call import.MODULE.rules,CMAKE)) -$(eval $(call import.CONTRIB.rules,CMAKE)) diff --git a/contrib/x265/module.defs b/contrib/x265/module.defs index 1d6ff38a3..e3a82c42c 100644 --- a/contrib/x265/module.defs +++ b/contrib/x265/module.defs @@ -1,4 +1,4 @@ -__deps__ := CMAKE X265_8 X265_10 X265_12 +__deps__ := X265_8 X265_10 X265_12 $(eval $(call import.MODULE.defs,X265,x265,$(__deps__))) $(eval $(call import.CONTRIB.defs,X265)) diff --git a/contrib/x265_10bit/module.defs b/contrib/x265_10bit/module.defs index 756dfc1d9..d5088c520 100644 --- a/contrib/x265_10bit/module.defs +++ b/contrib/x265_10bit/module.defs @@ -1,4 +1,4 @@ -__deps__ := CMAKE X265_8 +__deps__ := X265_8 $(eval $(call import.MODULE.defs,X265_10,x265_10,$(__deps__),x265)) $(eval $(call import.CONTRIB.defs,X265_10)) diff --git a/contrib/x265_12bit/module.defs b/contrib/x265_12bit/module.defs index d773aa6ac..3642c0920 100644 --- a/contrib/x265_12bit/module.defs +++ b/contrib/x265_12bit/module.defs @@ -1,4 +1,4 @@ -__deps__ := CMAKE X265_8 +__deps__ := X265_8 $(eval $(call import.MODULE.defs,X265_12,x265_12,$(__deps__),x265)) $(eval $(call import.CONTRIB.defs,X265_12)) diff --git a/contrib/x265_8bit/module.defs b/contrib/x265_8bit/module.defs index 92f0a7ff7..4d42a6bcb 100644 --- a/contrib/x265_8bit/module.defs +++ b/contrib/x265_8bit/module.defs @@ -1,4 +1,4 @@ -__deps__ := CMAKE +__deps__ := $(eval $(call import.MODULE.defs,X265_8,x265_8,$(__deps__),x265)) $(eval $(call import.CONTRIB.defs,X265_8)) diff --git a/make/configure.py b/make/configure.py index 0d9aec183..abe6abe47 100644 --- a/make/configure.py +++ b/make/configure.py @@ -1343,9 +1343,6 @@ def createCLI(): h = IfHost( 'specify Mac OS X deployment target for Xcode builds', '*-*-darwin*', none=optparse.SUPPRESS_HELP ).value grp.add_option( '--minver', default=None, action='store', metavar='VER', help=h ) - - h = IfHost( 'Build and use local cmake', '*-*-*', none=optparse.SUPPRESS_HELP ).value - grp.add_option( '--enable-local-cmake', default=False, action='store_true', help=h ) cli.add_option_group( grp ) ## add Xcode options @@ -1528,7 +1525,7 @@ try: nasm = ToolProbe( 'NASM.exe', 'nasm', abort=False, minversion=[2,13,0] ) autoconf = ToolProbe( 'AUTOCONF.exe', 'autoconf', abort=True ) automake = ToolProbe( 'AUTOMAKE.exe', 'automake', abort=True ) - cmake = ToolProbe( 'CMAKE.exe', 'cmake', abort=False ) + cmake = ToolProbe( 'CMAKE.exe', 'cmake', abort=True ) libtool = ToolProbe( 'LIBTOOL.exe', 'libtool', abort=True ) pkgconfig = ToolProbe( 'PKGCONFIG.exe', 'pkg-config', abort=True ) @@ -1592,11 +1589,6 @@ try: elif Tools.nasm.version.inadequate(): raise AbortError( 'error: minimum required nasm version is %s and %s is %s\n' % ('.'.join([str(i) for i in Tools.nasm.version.minversion]),Tools.nasm.pathname,Tools.nasm.version.svers) ) - ## enable local cmake when cmake probe fails - if not options.enable_local_cmake and (Tools.cmake.fail): - stdout.write( 'note: enabling local cmake\n' ) - options.enable_local_cmake = True - if build.system == 'mingw': dlfcn_test = """ #include <dlfcn.h> @@ -1841,7 +1833,6 @@ int main() doc.add( 'PREFIX/', cfg.prefix_final + os.sep ) doc.addBlank() - doc.add( 'FEATURE.local_cmake', int( options.enable_local_cmake )) doc.add( 'FEATURE.asm', 'disabled' ) doc.add( 'FEATURE.flatpak', int( options.flatpak )) doc.add( 'FEATURE.gtk', int( not options.disable_gtk )) diff --git a/make/include/main.defs b/make/include/main.defs index 3ac75c8de..216ae27c3 100644 --- a/make/include/main.defs +++ b/make/include/main.defs @@ -7,16 +7,6 @@ include $(SRC/)make/include/tool.defs ############################################################################### -HB_TOOLS_PATH = -ifeq (1,$(FEATURE.local_cmake)) - MODULES += contrib/cmake - HB_TOOLS_PATH = $(call fn.ABSOLUTE,$(CONTRIB.build/)bin) -endif - -ifneq (,$(HB_TOOLS_PATH)) - PATH := $(HB_TOOLS_PATH):$(PATH) -endif - ifneq (,$(filter $(BUILD.system),cygwin mingw)) ifneq ($(HAS.bz2),1) MODULES += contrib/bzip2 |