66ee118a455c5e267566f0e3fdc482985f803df0,ci/build_windows.py,,windows_build,#Any#,139

Before Change


    url = "https://github.com/Kitware/CMake/releases/download/v3.16.1/cmake-3.16.1-win64-x64.zip"
    with tempfile.TemporaryDirectory() as tmpdir:
        cmake_file_path = download_file(url, tmpdir)
        with zipfile.ZipFile(cmake_file_path, "r") as zip_ref:
            // Create $tmpdir\cmake-3.16.1-win64-x64\bin\cmake.exe
            zip_ref.extractall(tmpdir)

After Change



            if ret != 0:
                build_try += 1
                logging.info("{} build(s) have failed".format(build_try))
            else:
                logging.info("Build flavour: {} complete in directory: \"{}\"".format(args.flavour, os.path.abspath(path)))
                logging.info("Build took {}".format(datetime.timedelta(seconds=int(time.time() - t0))))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: apache/incubator-mxnet
Commit Name: 66ee118a455c5e267566f0e3fdc482985f803df0
Time: 2020-04-03
Author: lausen@amazon.com
File Name: ci/build_windows.py
Class Name:
Method Name: windows_build


Project Name: uuazed/numerapi
Commit Name: 1ef4d66a2706fb74cc1b9d2585a8085e562c0a64
Time: 2017-08-14
Author: arodenius@numer.ai
File Name: numerapi/numerapi.py
Class Name: NumerAPI
Method Name: download_current_dataset


Project Name: chartbeat-labs/textacy
Commit Name: 495536f58a0b994082d6764d3dd7f994640478be
Time: 2016-07-18
Author: burton@chartbeat.com
File Name: textacy/fileio/utils.py
Class Name:
Method Name: open_sesame