This project is mirrored from https://github.com/haskell/Cabal.git.
Pull mirroring updated .
- Oct 26, 2020
-
-
Oleg Grenrus authored
-
Oleg Grenrus authored
Prepare 3.2.1.0
-
Oleg Grenrus authored
- Bump version - Update changelog - Revert type changes in `CabalSpecVersion`
-
- Oct 25, 2020
-
-
Oleg Grenrus authored
Backport to 3.2 20201025
-
Oleg Grenrus authored
-
Oleg Grenrus authored
-
Oleg Grenrus authored
E.g. `foo/../../../bar` is now forbidden. That cannot work.
-
Oleg Grenrus authored
-
Fixes https://github.com/haskell/cabal/issues/6421 To summarize, Cabal passes all C and C++ flags through GHC to the underlying C or C++ compiler using -optc. This works for GHC < 8.10, but now GHC expects C++ flags to come through -optcxx. This means that anything through -optc is ignored, so we cannot pass any flags to the C++ compiler. This change simply detects the GHC version and uses the correct arguments. This PR has been tested manually and two PackageTests have been added to cabal-testsuite. They pass under GHC 8.8.4 and GHC 8.10.2.
-
Google uses `armv7-none-linux-androideabi`, analogous to `armv7-unknown-linux-gnueabi` for e.g. a 32-bit regular linux. The existing alias it not a mistake, it is the right one for 64 bit. Google for that use `aarch64-linux-android`, analogous to `aarch64-unknown-linux-android` for a 64-bi regular linux. See https://developer.android.com/ndk/guides/standalone_toolchain for evidence/details.
-
This looks like an accident from a6e427ac It causes cases like this to fail: $ cat foo.c int foo() { return 42; } $ cat Lib.hs module Lib where foreign import ccall "foo" foo :: Int bar = foo $ cat cabal-csrc-repl.cabal cabal-version: 2.4 name: cabal-csrc-repl version: 0.1.0.0 library exposed-modules: Lib build-depends: base ^>=4.14.0.0 C-sources: foo.c default-language: Haskell2010 $ cabal v2-repl Resolving dependencies... Build profile: -w ghc-8.10.1 -O1 In order, the following will be built (use -v for more details): - cabal-csrc-repl-0.1.0.0 (lib) (first run) Configuring library for cabal-csrc-repl-0.1.0.0.. Preprocessing library for cabal-csrc-repl-0.1.0.0.. GHCi, version 8.10.1: https://www.haskell.org/ghc/ :? for help [1 of 1] Compiling Lib ( Lib.hs, interpreted ) Ok, one module loaded. *Lib> foo ghc: ^^ Could not load '_foo', dependency unresolved. See top entry above.
-
Oleg Grenrus authored
-
Many toolchain tools written for POSIX systems rely on the exec system call. Unfortunately, it is not possible to implement `exec` in a POSIX-compliant manner on Windows. In particular, the semantics of the `exec` implementation provided by the widely-used `msvcrt` C runtime will cause process's waiting on the `exec`'ing process to incorrectly conclude that the process has successfully terminated when in fact it is still running in another process. For this reason, the `process` library exposes the `use_process_jobs` flag to use a more strict (although still not POSIX-compliant) mechanism for tracking process completion. This is explained in this comment [2]. Unfortunately, job support in the `process` library is currently quite broken and was only recently fixed [1]. Consequently, we only enable job object support for process releases >= 1.6.8. [1] https://github.com/haskell/process/pull/168 [2] https://github.com/haskell/process/blob/master/System/Process.hs#L399
-
- May 28, 2020
-
-
Oleg Grenrus authored
Backport to 3.2 20200520
-
Oleg Grenrus authored
- msys2 should be installed - there is cabal and GHC, but we want to be sure about versions, so we reinstall. - Reinstalling GHC doesnt' "just work", so we uninstall it first. This takes time, but makes CI work.
-
Add Integration tests for File Target Selector Add Integration test for Target Selecetors for files that are part of other-modules in sub-directories. Normalise Filepaths for target matching Add filepath and module target syntax to readthedocs Add ambiguous file target test-case
-
Oleg Grenrus authored
- Also drop GenericInstances as URI has Generic instance now. - simplifier goes nuts on ProjectConfig instances...
-
- May 23, 2020
-
-
Francesco Gazzetta authored
Backport filter --allow-depending-on-private-libs
-
Francesco Gazzetta authored
(cherry picked from commit 17b3fca2)
-
- Apr 15, 2020
-
-
Oleg Grenrus authored
GHC-8.10 support for 3.2
-
- Apr 14, 2020
-
-
Oleg Grenrus authored
Includes cherry-picked commits: - Test cabal-install with GHC-8.10 #6709 - Add GHC-8.10.1 job. Only tests Cabal-the-lib part atm. #6617 Also add topHandler' signature.
-
- Mar 30, 2020
-
-
Herbert Valerio Riedel authored
re #6432
-
Herbert Valerio Riedel authored
-
Herbert Valerio Riedel authored
re #6432
- Feb 14, 2020
-
-
Oleg Grenrus authored
Backport batch 5 3.2
-
Oleg Grenrus authored
-
Oleg Grenrus authored
This results e.g. in cabal: The pkg-config package 'blas' version ==0.3 || >0.3 is required but the version installed on the system is version 0.2.20+ds output instead of failing to parse 0.2.20+ds as a PkgconfigVersion. We don't need to parse the `pkg-config --modversion` output as strictly as the versions in `.cabal` file. I.e. at all, as `PkgconfigVersion` comparison works somehow on any possible version strings.
-
Oleg Grenrus authored
Related to https://github.com/haskell/cabal/issues/6539
-
Oleg Grenrus authored
-
- Feb 02, 2020
-
-
Oleg Grenrus authored
Cabal 3.2 knows ghc 8.10
-
Oleg Grenrus authored
-
- Jan 27, 2020
-
-
Oleg Grenrus authored
Add changelogs for 3.2
-
Oleg Grenrus authored
-
- Jan 22, 2020
-
-
Oleg Grenrus authored
Backport batch 4 3.2
-
Oleg Grenrus authored
-
Oleg Grenrus authored
-
Oleg Grenrus authored
On Windows moving files fails often enough, let's try another tactic for recovering modified file.
-
This commit is the same as 96c3bf91, but with the unit tests updated to fix #6495. The tests check less of the solver output so that they are less fragile.
-
-