Skip to content

Add SPEC CPU2017 GCC 14/15 build workarounds per SPEC FAQ - #857

Open
deep1712 wants to merge 2 commits into
microsoft:mainfrom
deep1712:users/devaid/FixingSpec2017Gcc15
Open

deep1712 wants to merge 2 commits into
microsoft:mainfrom
deep1712:users/devaid/FixingSpec2017Gcc15

Conversation

@deep1712

Copy link
Copy Markdown
Contributor
  • Build.10: GCC 14+ promotes -Wimplicit-int to an error (527.cam4_r/627.cam4_s mpi.c). Add -Wno-error=implicit-int to cam4 peak and fprate,fpspeed base, guarded by GCCge14.
  • Build.11: GCC 15+ errors on xalancbmk with -Wtemplate-body. Add -Wno-error=template-body for 523.xalancbmk_r/623.xalancbmk_s peak (base already covered).
  • Add $Gcc14Workaround$ placeholder resolved by SpecCpu2017Executor when gcc >= 14.

- Build.10: GCC 14+ promotes -Wimplicit-int to an error (527.cam4_r/627.cam4_s mpi.c).
  Add -Wno-error=implicit-int to cam4 peak and fprate,fpspeed base, guarded by GCCge14.
- Build.11: GCC 15+ errors on xalancbmk with -Wtemplate-body. Add
  -Wno-error=template-body for 523.xalancbmk_r/623.xalancbmk_s peak (base already covered).
- Add $Gcc14Workaround$ placeholder resolved by SpecCpu2017Executor when gcc >= 14.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

…er SPEC FAQ Build.11

Move -Wno-error=template-body from default=base to intrate,intspeed=base to match the
official SPEC CPU2017 FAQ example, keeping the GCCge15 guard.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@deep1712

Copy link
Copy Markdown
Contributor Author

For running SPEC2017 for Gcc15 following the link mentioned below
https://www.spec.org/cpu2017/Docs/faq.html#Build.10

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants