Skip to content

Commit c9249d7

Browse files
committed
[ci skip]
1 parent 0a5e7a6 commit c9249d7

File tree

2 files changed

+2
-23
lines changed

2 files changed

+2
-23
lines changed

cmake/JuliaCCompiler.cmake

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ if(NOT USECLANG)
7979
endif()
8080

8181
if(NOT USEMSVC)
82-
set(CPP_COMMAND ${CMAKE_C_COMPILER} -E)
82+
set(CPP_COMMAND ${CMAKE_C_COMPILER} -E -P)
8383
else()
84-
set(CPP_COMMAND ${CMAKE_C_COMPILER} -EP)
84+
set(CPP_COMMAND ${CMAKE_C_COMPILER} -EP -E)
8585
endif()

cmake/JuliaUtils.cmake

-21
Original file line numberDiff line numberDiff line change
@@ -86,24 +86,3 @@ function(jl_custom_output outputs output_deps target_deps autodep_file)
8686
jl_custom_target("${target}" "${outputs}" "${output_deps}"
8787
"${target_deps}" "${autodep_file}" ${ARGN})
8888
endfunction()
89-
90-
# add_custom_command(OUTPUT "${build_private_libdir}/inference0.o"
91-
# "${build_private_libdir}/inference0.ji"
92-
# COMMAND "${build_bindir}/julia" -C ${JULIA_CPU_TARGET}
93-
# --build "${build_private_libdir}/inference0" -f coreimg.jl
94-
# WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
95-
# DEPENDS ${core_img_SRCS})
96-
97-
# add_custom_target(julia-inference0
98-
# DEPENDS "${build_private_libdir}/inference0.o"
99-
# julia-ui)
100-
101-
# function(jl_sysimg_target outputs target output_deps target_deps autodep_file)
102-
# set(gen_script "${CMAKE_CURRENT_BINARY_DIR}/.jl_gen_sysimg-${target}.sh")
103-
# set(stamp_file "${CMAKE_CURRENT_BINARY_DIR}/.jl_gen_sysimg-${target}.stamp")
104-
# configure_file(jl_gen_sysimg.sh.in "${gen_script}" @ONLY)
105-
# # Force a recompilation if direct
106-
# add_custom_command(OUTPUT "${stamp_file}"
107-
# COMMAND "${CMAKE_COMMAND}" -E touch "${stamp_file}"
108-
# DEPENDS ${output_deps})
109-
# endfunction()

0 commit comments

Comments
 (0)