Skip to content

Commit f6cf30a

Browse files
authored
remove IPEX_PROFILING_OP from cmake files (#547)
1 parent b10d130 commit f6cf30a

File tree

3 files changed

+0
-14
lines changed

3 files changed

+0
-14
lines changed

cmake/CPU.cmake

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@ IF("${IPEX_DISP_OP}" STREQUAL "1")
3939
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DIPEX_DISP_OP")
4040
ENDIF()
4141

42-
IF("${IPEX_PROFILE_OP}" STREQUAL "1")
43-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DIPEX_PROFILE_OP")
44-
ENDIF()
45-
4642

4743
# ---[ Build flags
4844
set(CMAKE_C_STANDARD 11)

cmake/CpuDynDisp.cmake

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,6 @@ IF("${IPEX_DISP_OP}" STREQUAL "1")
3737
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DIPEX_DISP_OP")
3838
ENDIF()
3939

40-
IF("${IPEX_PROFILE_OP}" STREQUAL "1")
41-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DIPEX_PROFILE_OP")
42-
ENDIF()
43-
4440

4541
# ---[ Build flags
4642
set(CMAKE_C_STANDARD 11)

setup.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@
3333
# IPEX_DISP_OP=1
3434
# output the extension operators name for debug purpose
3535
#
36-
# IPEX_PROFILE_OP=1
37-
# Record the extension operators for profiling
38-
#
3936
# Environment variables we respect (these environment variables are
4037
# conventional and are often understood/set by other software.)
4138
#
@@ -453,9 +450,6 @@ def run(self):
453450
if _check_env_flag("IPEX_DISP_OP"):
454451
cmake_args += ['-DIPEX_DISP_OP=1']
455452

456-
if os.getenv("IPEX_PROFILE_OP", "") != "0":
457-
cmake_args += ['-DIPEX_PROFILE_OP=1']
458-
459453
if _check_env_flag("USE_SYCL"):
460454
cmake_args += ['-DUSE_SYCL=1']
461455

0 commit comments

Comments
 (0)