Comments (17)
Sure, that's what I intend to do.
from agda.
@jespercockx : I cannot reproduce this (TC.Monad.Base
compiles without error with make install-bin
).
Do you have some non-standard local settings, e.g. in .cabal/config
?
Note to myself: Our CI would not catch such problems, as we do not do a -f optimise-heavily
build with GHC 8.10.7.
from agda.
@jespercockx : I cannot reproduce this (TC.Monad.Base compiles without error with make install-bin).
Do you have some non-standard local settings, e.g. in .cabal/config?
I don't have anything special there, no.
Note to myself: Our CI would not catch such problems, as we do not do a -f optimise-heavily build with GHC 8.10.7.
The problem also occurs with v1-install
(but not with quicker-install-bin
), so in this case it would not have mattered.
from agda.
I reproduced this issue with ghc 8.10.7. I did add this specialization in 87ef6e4. I don't understand the problem right now, because the unordered-containers-0.2.19.1
that's being used does have INLINABLE
and I don't believe -O0
is used for dependencies.
from agda.
With the current master and GHC 8.10.7,
NB: @jespercockx, I recommend using a more recent GHC for development, since some warnings are off for older GHCs:
Lines 276 to 298 in 1688c26
In my recent PR I also activate the
operator-whitespace
warning (from GHC 9.2):
from agda.
NB: @jespercockx, I recommend using a more recent GHC for development, since some warnings are off for older GHCs:
I switched to GHC 9.2.5 for now (which is the version recommended by ghcup
at the moment).
from agda.
I switched to GHC 9.2.5 for now (which is the version recommended by
ghcup
at the moment).
Your GHCup seems also outdated 🤣 , mine says:
✗ ghc 9.4.7 recommended,base-4.17.2.0
from agda.
Ah yes, indeed. However, it is still not hls-powered which is annoying. The latest hls-powered release is 9.4.4.
from agda.
This is also failing on the standard library: https://github.com/agda/agda-stdlib/actions/runs/6688745401/job/18171228466#step:8:1780
from agda.
@jespercockx wrote:
Ah yes, indeed. However, it is still not hls-powered which is annoying. The latest hls-powered release is 9.4.4.
I fear the hls-powered
tags are outdated in ghcup list
. The table at their homepage lists 9.4.7 as "fully supported" (and 9.4.4 as deprecated): https://haskell-language-server.readthedocs.io/en/latest/support/ghc-version-support.html
from agda.
@AndrasKovacs : Did you find time to investigate this further? How should we proceed?
A radical step would be to drop GHC 8. But this would require us dropping our Ubuntu LTS support policy (GHC 9 is only shipped with 23.04 or higher). We would then have to require users to install GHC (e.g. via ghcup
) first if they want to install from source (and updated the docs accordingly), or bring our binary dists up to speed.
from agda.
I can just remove the offending SPECIALIZE-s. For that I guess I'd need to check builds with all supported GHC versions. What's the official way to get the list of GHC versions? Is it good to get the GHC-s corresponding to each stack.yaml
file?
EDIT: sorry, I see the tested-with
list in the cabal file already. I'll go through the builds if there's no better idea.
from agda.
I can just remove the offending SPECIALIZE-s.
Can we ifdef them so that we do benefit from them whenever it is possible?
from agda.
After building everything, there's just a single offending pragma that fails to build below ghc-9.x. I added CPP for it in #6949. I think this is safe to close now.
from agda.
I suppose reporting this to the GHC team makes little sense as they won't fix the GHC 8.x series anymore.
from agda.
Hmm, the standard library is building Agda 2.6.4 release so this bug appears to have made it into the 2.6.4 release? Concretely, as a consequence of this bug, which versions of GHC can Agda 2.6.4 not be built with? Do we need to update the documentation anywhere?
from agda.
@MatthewDaggitt wrote:
Hmm, the standard library is building Agda 2.6.4 release so this bug appears to have made it into the 2.6.4 release? Concretely, as a consequence of this bug, which versions of GHC can Agda 2.6.4 not be built with? Do we need to update the documentation anywhere?
You seem to be using Agda master in the quoted workflow:
git clone https://github.com/agda/agda
cd agda
git checkout
mkdir -p doc
touch doc/user-manual.pdf
cabal v1-install --ghc-options='-O1 +RTS -M6G -RTS'
cd ..
shell: /usr/bin/bash -e {0}
env:
GHC_VERSION: 8.10.7
CABAL_VERSION: 3.6.2.0
CABAL_INSTALL: cabal v1-install --ghc-options='-O1 +RTS -M6G -RTS'
AGDA: agda -Werror +RTS -M3.5G -H3.5G -A128M -RTS -i. -i src/
Cloning into 'agda'...
Your branch is up to date with 'origin/master'.
https://github.com/agda/agda-stdlib/actions/runs/6688745401/job/18171228466#step:8:4
There is a suspicious step
git checkout
which looks like it wanted to checkout a specific branch/tag, but the respective variable was empty.
Appearances can be deceiving. (Agent Smith)
I upstreamed this here:
from agda.
Related Issues (20)
- Internal error in Mimer with module parameter and matching
- Instance resolution failure in Agda 2.6.4 HOT 6
- Mimer drops part of the solution with module parameter
- Citation.cff HOT 1
- Prune the `Makefile` HOT 7
- Delete the GitHub Wiki HOT 3
- Migrate the Chalmers Wiki HOT 4
- Prune `Setup.hs` HOT 5
- Reorganize `HACKING.md`
- Merge `.authorspellings` and `.mailmap` HOT 1
- Mimer internal error when querying `recRecursive` HOT 1
- Interactive highlighting remnants with lambda-where
- Pattern synonyms with named arguments can be defined but not used HOT 3
- Automatically create names for syntax
- Mangled trX/Con clause for indexed type with green slime HOT 1
- Why do we `reduce` and `instantiateFull` constraints? HOT 2
- Use of Non-terminating Function in Data Declaration Makes Typechecker Loop HOT 4
- Misprinted domain-free parameters with cohesion attribute HOT 1
- Regression in 2.6.4.2 concerning `with` HOT 6
- Regression in 2.6.4 in `rewrite` with instances
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from agda.