Skip to content
Closed
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
8 changes: 4 additions & 4 deletions .github/workflows/continuous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@ jobs:
uses: SimenB/github-actions-cpu-cores@v2
id: cpu-cores

# FindSIMD, MeshFEMCore, and Tight-Inclusion all compile with
# -march=native, which bakes the building runner's ISA into every cached
# object file. ccache hashes the literal flag string, not what it expands
# to, so restored objects are only safe on a runner with the same ISA.
# FindSIMD and Tight-Inclusion both compile with -march=native, which
# bakes the building runner's ISA into every cached object file. ccache
# hashes the literal flag string, not what it expands to, so restored
# objects are only safe on a runner with the same ISA.
# The CPU model name has not been enough to guarantee that: EPYC 9V74
# runners restored each other's objects and crashed with SIGILL. On Linux
# we also hash the flags the compiler expands -march=native to, which is
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ jobs:
uses: SimenB/github-actions-cpu-cores@v2
id: cpu-cores

# FindSIMD, MeshFEMCore, and Tight-Inclusion all compile with
# -march=native, which bakes the building runner's ISA into every cached
# object file. ccache hashes the literal flag string, not what it expands
# to, so restored objects are only safe on a runner with the same ISA.
# FindSIMD and Tight-Inclusion both compile with -march=native, which
# bakes the building runner's ISA into every cached object file. ccache
# hashes the literal flag string, not what it expands to, so restored
# objects are only safe on a runner with the same ISA.
# The CPU model name has not been enough to guarantee that: EPYC 9V74
# runners restored each other's objects and crashed with SIGILL. We also
# hash the flags the compiler expands -march=native to, which is exactly
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/cuda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ jobs:
uses: SimenB/github-actions-cpu-cores@v2
id: cpu-cores

# FindSIMD, MeshFEMCore, and Tight-Inclusion all compile with
# -march=native, which bakes the building runner's ISA into every cached
# object file. ccache hashes the literal flag string, not what it expands
# to, so restored objects are only safe on a runner with the same ISA.
# FindSIMD and Tight-Inclusion both compile with -march=native, which
# bakes the building runner's ISA into every cached object file. ccache
# hashes the literal flag string, not what it expands to, so restored
# objects are only safe on a runner with the same ISA.
# The CPU model name has not been enough to guarantee that: EPYC 9V74
# runners restored each other's objects and crashed with SIGILL. We also
# hash the flags the compiler expands -march=native to, which is exactly
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,13 @@ jobs:
done
cd ..

# We build ipctk without ccache on purpose. Its dependencies compile with
# -march=native, and ccache hashes that flag string, not the CPU it expands
# to. A cached object could therefore be restored onto a runner that lacks
# some of its instructions, which crashed `import ipctk` with SIGILL when
# Sphinx started. The tradeoff is a cold build of about 5 minutes instead of
# about 1, which is fine because docs only build on pushes to main.
# We build ipctk without ccache on purpose. It compiles with -march=native
# (from FindSIMD, plus Tight-Inclusion's own flags), and ccache hashes that
# flag string, not the CPU it expands to. A cached object could therefore
# be restored onto a runner that lacks some of its instructions, which
# crashed `import ipctk` with SIGILL when Sphinx started. The tradeoff is a
# cold build of about 5 minutes instead of about 1, which is fine because
# docs only build on pushes to main.
- name: Build ipctk
run: pip install --verbose .

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ jobs:
choco install ccache
"CACHE_PATH=${env:LOCALAPPDATA}\ccache" | Out-File -FilePath $env:GITHUB_ENV -Append

# FindSIMD, MeshFEMCore, and Tight-Inclusion all compile with
# -march=native, which bakes the building runner's ISA into every cached
# object file. ccache hashes the literal flag string, not what it expands
# to, so restored objects are only safe on a runner with the same ISA.
# FindSIMD and Tight-Inclusion both compile with -march=native, which
# bakes the building runner's ISA into every cached object file. ccache
# hashes the literal flag string, not what it expands to, so restored
# objects are only safe on a runner with the same ISA.
# The CPU model name has not been enough to guarantee that: EPYC 9V74
# runners restored each other's objects and crashed with SIGILL. On Linux
# we also hash the flags the compiler expands -march=native to, which is
Expand Down
Loading