Skip to content

Commit f166a20

Browse files
Remove clash-cores (#2923)
It has been migrated to https://github.com/clash-lang/clash-cores
1 parent ca6b1f5 commit f166a20

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+4
-15766
lines changed

.ci/build.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ set -xueo pipefail
44
# Generate source distributions for all our packages
55
# TODO: `sdist clash-cosim` only works _after_ building it
66
cabal v2-sdist \
7-
clash-cores \
87
clash-ffi \
98
clash-ghc \
109
clash-lib \
@@ -28,8 +27,6 @@ cabal v2-build all --write-ghc-environment-files=always
2827

2928
# Put all the test binaries in a predictable location
3029
TESTS="
31-
clash-cores:doctests
32-
clash-cores:unittests
3330
clash-cosim:test
3431
clash-lib:doctests
3532
clash-lib:unittests

.ci/build_docs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -xueo pipefail
55
if [[ "$GHC_VERSION" = "8.6.5" ]]; then
66
haddock_pkgs="clash-lib clash-lib-hedgehog clash-cosim"
77
else
8-
haddock_pkgs="clash-prelude clash-prelude-hedgehog clash-lib clash-lib-hedgehog clash-cosim clash-cores"
8+
haddock_pkgs="clash-prelude clash-prelude-hedgehog clash-lib clash-lib-hedgehog clash-cosim"
99
fi
1010

1111
mkdir -p hadocs

.ci/cabal.project.local

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,6 @@ package clash-cosim
3232
-- is not added to the RPATH
3333
executable-dynamic: False
3434

35-
package clash-cores
36-
ghc-options: -Werror
37-
tests: True
38-
39-
-- clash-cores unittests fail with dynamic executables because of a bug in
40-
-- Cabal-the-library in combination with custom setup where the library path
41-
-- is not added to the RPATH
42-
executable-dynamic: False
43-
4435
package clash-prelude-hedgehog
4536
ghc-options: -Werror
4637
tests: True

.ci/gitlab/test.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -90,17 +90,6 @@ build:
9090
- tar -cf - $(.ci/get_build_dist.sh) | zstd -T${THREADS} -15 > dist.tar.zst
9191

9292
# Tests run on shared runners:
93-
94-
cores:doctests:
95-
extends: .test-nocache
96-
script:
97-
- bin/clash-cores:doctests -j$THREADS
98-
99-
cores:unittests:
100-
extends: .test-nocache
101-
script:
102-
- bin/clash-cores:unittests --hide-successes
103-
10493
cosim:unittests:
10594
extends: .test-nocache
10695
script:

.ci/setup.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ fi
1010
set -e
1111

1212
# Check whether version numbers in
13-
# clash-{prelude{,-hedgehog},lib{,-hedgehog},ghc,cores} are the same
14-
cabal_files="clash-prelude/clash-prelude.cabal clash-prelude-hedgehog/clash-prelude-hedgehog.cabal clash-lib/clash-lib.cabal clash-lib-hedgehog/clash-lib-hedgehog.cabal clash-ghc/clash-ghc.cabal clash-cores/clash-cores.cabal"
13+
# clash-{prelude{,-hedgehog},lib{,-hedgehog},ghc} are the same
14+
cabal_files="clash-prelude/clash-prelude.cabal clash-prelude-hedgehog/clash-prelude-hedgehog.cabal clash-lib/clash-lib.cabal clash-lib-hedgehog/clash-lib-hedgehog.cabal clash-ghc/clash-ghc.cabal"
1515
versions=$(grep "^[vV]ersion" $cabal_files | grep -Eo '[0-9]+(\.[0-9]+)+')
1616

17-
if [[ $(echo $versions | tr ' ' '\n' | wc -l) == 6 ]]; then
17+
if [[ $(echo $versions | tr ' ' '\n' | wc -l) == 5 ]]; then
1818
if [[ $(echo $versions | tr ' ' '\n' | uniq | wc -l) != 1 ]]; then
1919
echo "Expected all distributions to have the same version number. Found: $versions"
2020
exit 1;

.ci/stack-8.10.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ packages:
99
- clash-lib
1010
- clash-lib-hedgehog
1111
- clash-ghc
12-
- clash-cores
1312
- tests
1413

1514
extra-deps:

.ci/stack-9.0.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ packages:
99
- clash-lib
1010
- clash-lib-hedgehog
1111
- clash-ghc
12-
- clash-cores
1312
- tests
1413

1514
extra-deps:

.ci/stack-9.2.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ packages:
99
- clash-lib
1010
- clash-lib-hedgehog
1111
- clash-ghc
12-
- clash-cores
1312
- tests
1413

1514
extra-deps:

.ci/stack-9.4.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ packages:
99
- clash-lib
1010
- clash-lib-hedgehog
1111
- clash-ghc
12-
- clash-cores
1312
- tests
1413

1514
extra-deps:

.ci/stack-9.6.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ packages:
99
- clash-lib
1010
- clash-lib-hedgehog
1111
- clash-ghc
12-
- clash-cores
1312
- tests
1413

1514
extra-deps:

0 commit comments

Comments
 (0)