File tree Expand file tree Collapse file tree 3 files changed +4
-22
lines changed Expand file tree Collapse file tree 3 files changed +4
-22
lines changed Original file line number Diff line number Diff line change @@ -60,11 +60,7 @@ function(igc_resource_embed_file symbolFilesVarName symbolName embeddedFilePath)
60
60
set (_dependency "${embeddedFilePath} " )
61
61
endif ()
62
62
63
- if (CMAKE_SYSTEM_NAME MATCHES "Windows" )
64
- set (IGC_PYTHON "${BS_DIR_EXTERNAL_COMPONENTS} /build-tools/python2-win32/python.exe" )
65
- else ()
66
- find_program (IGC_PYTHON NAMES "python2" "python" )
67
- endif ()
63
+ find_program (IGC_PYTHON NAMES "python2" "python" )
68
64
69
65
add_custom_command (OUTPUT "${_symbolFilePath} "
70
66
COMMAND "${CMAKE_COMMAND} " -E make_directory "${IGC_BUILD__BIF_EMBEDDER_DIR} "
Original file line number Diff line number Diff line change @@ -1983,11 +1983,7 @@ if(NOT GFX_DEVELOPMENT_DIR)
1983
1983
get_filename_component (GFX_DEVELOPMENT_DIR ${CMAKE_CURRENT_SOURCE_DIR} /../../ ABSOLUTE )
1984
1984
endif ()
1985
1985
1986
- if (CMAKE_SYSTEM_NAME MATCHES "Windows" )
1987
- set (PYTHON_EXECUTABLE "${BS_DIR_EXTERNAL_COMPONENTS} /build-tools/python3-win64/python.exe" )
1988
- else ()
1989
- find_program (PYTHON_EXECUTABLE NAMES "python3" "python" )
1990
- endif ()
1986
+ find_program (PYTHON_EXECUTABLE NAMES "python3" "python" )
1991
1987
1992
1988
set (IGC_CODEGEN_BASE_DIR "${CMAKE_CURRENT_BINARY_DIR} /autogen" )
1993
1989
if (MSVC_IDE )
Original file line number Diff line number Diff line change 30
30
31
31
cmake_minimum_required (VERSION 3.13.4 )
32
32
33
- if (BS_USE_OSDM_BUILD_SYSTEM )
34
- include (${BUILD_SYS_INC} /utils.cmake )
35
- bs_find_patch ()
36
- bs_find_python3 ()
37
- else ()
38
- if (NOT PATCH )
39
- find_program (PATCH NAMES patch patch.exe )
40
- endif ()
41
- if (NOT PYTHON )
42
- find_program (PYTHON NAMES python3 python python3.exe python.exe )
43
- endif ()
44
- endif ()
33
+ find_program (PATCH NAMES patch patch.exe )
34
+ find_program (PYTHON NAMES python3 python python3.exe python.exe )
45
35
46
36
include (llvm_utils.cmake )
47
37
You can’t perform that action at this time.
0 commit comments