Skip to content

Commit

Permalink
ci: repair nix build
Browse files Browse the repository at this point in the history
Specifically, add --no-sandbox to the nix build invocation to work
around cabal. Without this cabal errors out stating it has no http
connection.
  • Loading branch information
doyougnu committed May 2, 2024
1 parent 78144f4 commit 6d0cc3a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v22
- run: nix build -o _build
- run: nix build -o _build --no-sandbox
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
Expand Down
11 changes: 4 additions & 7 deletions src/Measurement_Observation/Binary_Profiling/linux_perf.rst
Original file line number Diff line number Diff line change
Expand Up @@ -290,9 +290,6 @@ defined in ``QSort`` that I have elided.
Inspecting with Perf
--------------------

Awards
^^^^^^

To investigate we'll compile and run the program in ``perf``. Perf is a
statistical profiler that outputs key CPU counters (these counters are called
`PMC
Expand Down Expand Up @@ -972,14 +969,14 @@ Footnotes
#. :term:`Unlifted` objects cannot be evaluated and therefore don't have
an entry code.
.. [#] GHC can be built in many different ways which we call ``flavors``. The
``default`` flavor is one such provided by GHC's build tool `Hadrian
<https://gitlab.haskell.org/ghc/ghc/-/blob/master/hadrian/README.md?ref_type=heads>`__.
.. [#] I say "typically" because GHC will use ``call`` in some circumstances
such as creating :term:`CAF`'s, see :ghcSource:`Note [CAF management]
<rts/sm/Storage.c?ref_type=heads#L425>`
.. [#] GHC can be built in many different ways which we call ``flavors``. The
``default`` flavor is one such provided by GHC's build tool `Hadrian
<https://gitlab.haskell.org/ghc/ghc/-/blob/master/hadrian/README.md?ref_type=heads>`__.
.. [#] Larger code size will slow down the program because there is simply more
code to process. But its contribution to runtime performance is not as
great as the *locality* between data and the code operating on the data.
Expand Down

0 comments on commit 6d0cc3a

Please sign in to comment.