This repository was archived by the owner on Jan 7, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
releases/10.0.0/patches_internal Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -33,13 +33,12 @@ cmake_minimum_required(VERSION 3.4.3)
33
33
if (BS_USE_OSDM_BUILD_SYSTEM )
34
34
include (${BUILD_SYS_INC} /utils.cmake )
35
35
bs_find_patch ()
36
- bs_find_python2 ()
37
36
else ()
38
37
if (NOT PATCH )
39
38
find_program (PATCH NAMES patch patch.exe )
40
39
endif ()
41
40
if (NOT PYTHON )
42
- find_program (PYTHON NAMES python2 python python2 .exe python.exe )
41
+ find_program (PYTHON NAMES python3 python python3 .exe python.exe )
43
42
endif ()
44
43
endif ()
45
44
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ diff -Naur --strip-trailing-cr a/utils/llvm-build/llvmbuild/main.py b/utils/llvm
16
16
- ${CMAKE_CURRENT_BINARY_DIR}/DummyConfigureOutput)\n""" % (
17
17
- cmake_quote_path(dep),))
18
18
+ ${CMAKE_CURRENT_BINARY_DIR}/DummyConfigureOutput/%s)\n""" % (
19
- + cmake_quote_path(dep),hashlib.sha1(dep).hexdigest()))
19
+ + cmake_quote_path(dep),hashlib.sha1(dep.encode('utf-8') ).hexdigest()))
20
20
21
21
# Write the properties we use to encode the required library dependency
22
22
# information in a form CMake can easily use directly.
You can’t perform that action at this time.
0 commit comments