Skip to content

[SPEC] Workaround error with latest clang in 523.xalancbmk_r #118

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions External/SPEC/CINT2006/483.xalancbmk/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ add_definitions(

list(APPEND CXXFLAGS -std=gnu++98)

include(CheckCXXCompilerFlag)
check_cxx_compiler_flag(-fdelayed-template-parsing
HAVE_CXX_FLAG_FDELAYED_TEMPLATE_PARSING)
if(HAVE_CXX_FLAG_FDELAYED_TEMPLATE_PARSING)
add_compile_options(-fdelayed-template-parsing)
endif()

include_directories(
${CMAKE_CURRENT_SOURCE_DIR}
${BENCHMARK_DIR}/src
Expand Down
7 changes: 7 additions & 0 deletions External/SPEC/CINT2017rate/523.xalancbmk_r/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ speccpu2017_benchmark(RATE)

set(CMAKE_CXX_STANDARD 14)

include(CheckCXXCompilerFlag)
check_cxx_compiler_flag(-fdelayed-template-parsing
HAVE_CXX_FLAG_FDELAYED_TEMPLATE_PARSING)
if(HAVE_CXX_FLAG_FDELAYED_TEMPLATE_PARSING)
add_compile_options(-fdelayed-template-parsing)
endif()

add_definitions(
-DAPP_NO_THREADS
-DXALAN_INMEM_MSG_LOADER
Expand Down