build_env['LIBTOOLIZE'] = opt.libtoolize # Verify we have the executables we need common_exec = [ "make", "tar", "ln", "autoreconf", "cp", "sed", "bzip2", "unzip", "patch", "csh", "git", "wget", "curl" ] compiler_exec = [build_env['CC'], build_env['CXX'], build_env['F77']] if arch.os == 'linux': common_exec.extend(["libtool"]) else: common_exec.extend(["glibtool", "install_name_tool"]) missing_exec = [] for program in common_exec: if not program_exists(program): missing_exec.append(program) for program in compiler_exec: check_help = True if not program_exists(program, check_help): missing_exec.append(program) if missing_exec: die('Missing required executables for building. You need to install %s.' % missing_exec) build = [] LINUX_DEPS1 = [m4, libtool, autoconf, automake] CORE_DEPS = [cmake, bzip2, pbzip2 ] # For some reason these are inserted in the linux deps LINUX_DEPS2 = [chrpath, lapack]
build_env.append_many(CC_FLAGS, '-pipe') if opt.libtoolize is not None: build_env['LIBTOOLIZE'] = opt.libtoolize # Verify we have the executables we need common_exec = ["make", "tar", "ln", "autoreconf", "cp", "sed", "bzip2", "unzip", "patch", "csh", "git", "wget", "curl"] compiler_exec = [ build_env['CC'],build_env['CXX'],build_env['F77'] ] if arch.os == 'linux': common_exec.extend( ["libtool"] ) else: common_exec.extend( ["glibtool", "install_name_tool"] ) missing_exec = [] for program in common_exec: if not program_exists(program): missing_exec.append(program) for program in compiler_exec: check_help = True if not program_exists(program, check_help): missing_exec.append(program) if missing_exec: die('Missing required executables for building. You need to install %s.' % missing_exec) build = [] LINUX_DEPS1 = [m4, libtool, autoconf, automake] CORE_DEPS = [cmake, bzip2, pbzip2] # For some reason these are inserted in the linux deps LINUX_DEPS2 = [chrpath, lapack] VW_DEPS = [zlib, openssl, curl, png, jpeg, tiff, proj, openjpeg2, libgeotiff,