Skip to content
Snippets Groups Projects
Commit c40deeab authored by Mattia Mancini's avatar Mattia Mancini
Browse files

Keep default filename

parent 3779b7f6
No related branches found
No related tags found
1 merge request!9Add precompiled assembly
Pipeline #82520 passed
...@@ -22,6 +22,6 @@ cmake -B ${BUILD_DIR} . -DCMAKE_BUILD_TYPE=Release ...@@ -22,6 +22,6 @@ cmake -B ${BUILD_DIR} . -DCMAKE_BUILD_TYPE=Release
make -C ${BUILD_DIR} -j make -C ${BUILD_DIR} -j
tar -cvf asm-${ARCHITECTURE}-${COMPILER_VERSION}.tar ${BUILD_DIR}/*.as tar -cvf asm-${ARCHITECTURE}-${COMPILER_VERSION}.tar ${BUILD_DIR}/*.s
${BUILD_DIR}/microbenchmarks --benchmark_out=results-${COMPILER_VERSION}-${ARCHITECTURE}.json --benchmark_out_format=json ${BUILD_DIR}/microbenchmarks --benchmark_out=results-${COMPILER_VERSION}-${ARCHITECTURE}.json --benchmark_out_format=json
\ No newline at end of file
...@@ -7,12 +7,12 @@ macro (add_precompile_target) ...@@ -7,12 +7,12 @@ macro (add_precompile_target)
list(TRANSFORM apt_INCLUDE_DIRS PREPEND -I) list(TRANSFORM apt_INCLUDE_DIRS PREPEND -I)
add_custom_command(OUTPUT ${apt_TARGET_NAME}.as add_custom_command(OUTPUT ${apt_TARGET_NAME}.s
COMMAND ${CMAKE_CXX_COMPILER} -std=c++${CMAKE_CXX_STANDARD} ${CMAKE_CXX_COMPLERS_ARG} ${apt_COMPILER_FLAGS} ${apt_SOURCES} ${apt_INCLUDE_DIRS} -S -o ${apt_TARGET_NAME}.as COMMAND ${CMAKE_CXX_COMPILER} -std=c++${CMAKE_CXX_STANDARD} ${CMAKE_CXX_COMPLERS_ARG} ${apt_COMPILER_FLAGS} ${apt_SOURCES} ${apt_INCLUDE_DIRS} -S -o ${apt_TARGET_NAME}.s
DEPENDS ${apt_SOURCES} DEPENDS ${apt_SOURCES}
) )
add_custom_target(precompile_${apt_TARGET_NAME} ALL add_custom_target(precompile_${apt_TARGET_NAME} ALL
DEPENDS ${apt_TARGET_NAME}.as DEPENDS ${apt_TARGET_NAME}.s
COMMENT "Adding precompile target ${KERNEL_NAME} with source ${KERNEL_SOURCE}") COMMENT "Adding precompile target ${KERNEL_NAME} with source ${KERNEL_SOURCE}")
set_property( set_property(
TARGET precompile_${apt_TARGET_NAME} TARGET precompile_${apt_TARGET_NAME}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment