d839d65ee77bed885b2cf19a9809e7fe01124029,build_tools/setup_helpers/extension.py,,_build_re2,#Any#,112
Before Change
def _build_re2(debug):
build_dir = _TP_BASE_DIR / "re2" / "build"
build_dir.mkdir(exist_ok=True)
build_env = os.environ.copy()
config = "Debug" if debug else "Release"
if platform.system() == "Windows":
extra_args = ["-GNinja"]
After Change
def _build_re2(debug):
build_dir = _TP_BASE_DIR / "re2" / "build"
// simply calling "build_dir.mkdir(exist_ok=True)" fails on Windows CI Job
if not os.path.exists(str(build_dir)):
os.mkdir(str(build_dir))
build_env = os.environ.copy()
config = "Debug" if debug else "Release"
if platform.system() == "Windows":
extra_args = ["-GNinja"]
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: pytorch/text
Commit Name: d839d65ee77bed885b2cf19a9809e7fe01124029
Time: 2020-06-09
Author: nayef.ahmed211@gmail.com
File Name: build_tools/setup_helpers/extension.py
Class Name:
Method Name: _build_re2
Project Name: BYU-PCCL/holodeck
Commit Name: 3fdc8bf97439ceacdc6b8dc98db6a1c8a7e1e9ce
Time: 2018-01-04
Author: joshua.greaves@gmail.com
File Name: install.py
Class Name:
Method Name: linux_installation
Project Name: deepmipt/DeepPavlov
Commit Name: 160f08b2bf56b55e79e0a205ea8a7ae548365390
Time: 2017-12-07
Author: ol.gure@gmail.com
File Name: hcn/models/embedder.py
Class Name: UtteranceEmbed
Method Name: train