Пример #1
0
    def start(self):
        if not git.check_line_endings(self.config.platform):
            raise ConfigurationError("git is configured to use automatic line "
                    "endings conversion. You can fix it running:\n"
                    "$git config core.autocrlf false")
        self.prefix = self.config.toolchain_prefix
        self.platform = self.config.target_platform
        self.arch = self.config.target_arch
        if self.arch == Architecture.X86:
            self.version = 'w32'
        else:
            self.version = 'w64'
        self.platform = self.config.platform

        self.check_dirs()
        if self.platform == Platform.WINDOWS:
            # For wget
            self.install_mingwget_deps()
        self.install_mingw()
        self.remove_mingw_cpp()
        self.add_non_prefixed_strings()
        if self.platform == Platform.WINDOWS:
            # After mingw is beeing installed
            self.install_bin_deps()
        self.install_gl_headers()
        self.install_python_sdk()
Пример #2
0
    def start(self):
        if not git.check_line_endings(self.config.platform):
            raise ConfigurationError(
                "git is configured to use automatic line "
                "endings conversion. You can fix it running:\n"
                "$git config core.autocrlf false")
        self.prefix = self.config.toolchain_prefix
        self.platform = self.config.target_platform
        self.arch = self.config.target_arch
        if self.arch == Architecture.X86:
            self.version = 'w32'
        else:
            self.version = 'w64'
        self.platform = self.config.platform

        self.check_dirs()
        if self.platform == Platform.WINDOWS:
            # For wget
            self.install_mingwget_deps()
        self.install_mingw()
        self.remove_mingw_cpp()
        self.add_non_prefixed_strings()
        if self.platform == Platform.WINDOWS:
            # After mingw is beeing installed
            self.install_bin_deps()
        self.install_gl_headers()
        self.install_python_sdk()
Пример #3
0
    def start(self):
        if not git.check_line_endings(self.config.platform):
            raise ConfigurationError("git is configured to use automatic line "
                    "endings conversion. You can fix it running:\n"
                    "$git config core.autocrlf false")
        self.prefix = self.config.toolchain_prefix
        self.perl_prefix = self.config.mingw_perl_prefix
        self.platform = self.config.target_platform
        self.arch = self.config.target_arch
        if self.arch == Architecture.X86:
            self.version = 'w32'
        else:
            self.version = 'w64'
        self.platform = self.config.platform

        self.check_dirs()
        if self.platform == Platform.WINDOWS:
            self.msys_mingw_bindir = Path(shutil.which('mingw-get')).parent
            self.install_mingwget_deps()
        self.install_mingw()
        if self.platform == Platform.WINDOWS:
            self.remove_mingw_cpp()
        self.add_non_prefixed_strings()
        if self.platform == Platform.WINDOWS:
            # After mingw has been installed
            self.install_bin_deps()
        self.install_gl_headers()
        if self.platform == Platform.WINDOWS:
            self.install_openssl_mingw_perl()
Пример #4
0
    def start(self):
        if not git.check_line_endings(self.config.platform):
            raise ConfigurationError(
                "git is configured to use automatic line "
                "endings conversion. You can fix it running:\n"
                "$git config core.autocrlf false")
        self.prefix = self.config.toolchain_prefix
        self.perl_prefix = self.config.mingw_perl_prefix
        self.platform = self.config.target_platform
        self.arch = self.config.target_arch
        if self.arch == Architecture.X86:
            self.version = 'w32'
        else:
            self.version = 'w64'
        self.platform = self.config.platform

        self.check_dirs()
        if self.platform == Platform.WINDOWS:
            self.msys_mingw_bindir = Path(shutil.which('mingw-get')).parent
            self.install_mingwget_deps()
        self.install_mingw()
        if self.platform == Platform.WINDOWS:
            self.remove_mingw_cpp()
        self.add_non_prefixed_strings()
        if self.platform == Platform.WINDOWS:
            # After mingw has been installed
            self.install_bin_deps()
        self.install_gl_headers()
        if self.platform == Platform.WINDOWS:
            self.install_openssl_mingw_perl()
Пример #5
0
 def start(self, jobs=0):
     if not git.check_line_endings(self.config.platform):
         raise ConfigurationError("git is configured to use automatic line "
                 "endings conversion. Please change that by running:\n"
                 "`git config --global core.autocrlf false` inside the MSYS shell")
     self.check_dirs()
     if self.platform == Platform.WINDOWS:
         self.fix_mingw()
         self.fix_openssl_mingw_perl()
         self.fix_bin_deps()
         # FIXME: This uses the network
         self.install_mingwget_deps()
         self.fix_mingw_unused()
Пример #6
0
 def start(self):
     if not git.check_line_endings(self.config.platform):
         raise ConfigurationError(
             "git is configured to use automatic line "
             "endings conversion. You can fix it running:\n"
             "$git config core.autocrlf false")
     self.check_dirs()
     self.fix_mingw()
     if self.platform == Platform.WINDOWS:
         self.fix_openssl_mingw_perl()
         self.fix_bin_deps()
         # FIXME: This uses the network
         self.install_mingwget_deps()
         self.fix_mingw_unused()