-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revise cardano-node-8.7.1 to relax the text upper bound (#604)
- Loading branch information
Showing
2 changed files
with
280 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
timestamp = 2023-12-01T09:53:17Z | ||
github = { repo = "input-output-hk/cardano-node", rev = "7f7a93d248b380d3dbff8c003a3ad66b6d1c770f" } | ||
subdir = 'cardano-node' | ||
|
||
[[revisions]] | ||
number = 1 | ||
timestamp = 2023-12-01T11:57:23Z |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,276 @@ | ||
cabal-version: 3.0 | ||
|
||
name: cardano-node | ||
version: 8.7.1 | ||
synopsis: The cardano full node | ||
description: The cardano full node. | ||
category: Cardano, | ||
Validator, | ||
copyright: 2019-2023 Input Output Global Inc (IOG). | ||
author: IOHK | ||
maintainer: [email protected] | ||
license: Apache-2.0 | ||
license-files: LICENSE | ||
NOTICE | ||
build-type: Simple | ||
extra-doc-files: ChangeLog.md | ||
|
||
Flag unexpected_thunks | ||
Description: Turn on unexpected thunks checks | ||
Default: False | ||
|
||
flag systemd | ||
description: Enable systemd support | ||
default: True | ||
manual: False | ||
|
||
common project-config | ||
default-language: Haskell2010 | ||
|
||
default-extensions: OverloadedStrings | ||
build-depends: base >= 4.14 && < 5 | ||
|
||
ghc-options: -Wall | ||
-Wcompat | ||
-Wincomplete-record-updates | ||
-Wincomplete-uni-patterns | ||
-Wno-unticked-promoted-constructors | ||
-Wpartial-fields | ||
-Wredundant-constraints | ||
-Wunused-packages | ||
common maybe-Win32 | ||
if os(windows) | ||
build-depends: Win32 | ||
|
||
common maybe-unix | ||
if !os(windows) | ||
build-depends: unix | ||
|
||
library | ||
import: project-config | ||
, maybe-unix | ||
, maybe-Win32 | ||
if flag(unexpected_thunks) | ||
cpp-options: -DUNEXPECTED_THUNKS | ||
|
||
if os(linux) && flag(systemd) | ||
cpp-options: -DSYSTEMD | ||
build-depends: lobemo-scribe-systemd | ||
, systemd >= 2.3.0 | ||
|
||
hs-source-dirs: src | ||
|
||
exposed-modules: Cardano.Node.Configuration.Logging | ||
Cardano.Node.Configuration.NodeAddress | ||
Cardano.Node.Configuration.POM | ||
Cardano.Node.Configuration.Socket | ||
Cardano.Node.Configuration.Topology | ||
Cardano.Node.Configuration.TopologyP2P | ||
Cardano.Node.Handlers.Shutdown | ||
Cardano.Node.Handlers.TopLevel | ||
Cardano.Node.Orphans | ||
Cardano.Node.Parsers | ||
Cardano.Node.Pretty | ||
Cardano.Node.Protocol | ||
Cardano.Node.Protocol.Alonzo | ||
Cardano.Node.Protocol.Byron | ||
Cardano.Node.Protocol.Cardano | ||
Cardano.Node.Protocol.Conway | ||
Cardano.Node.Protocol.Shelley | ||
Cardano.Node.Protocol.Types | ||
Cardano.Node.Queries | ||
Cardano.Node.Run | ||
Cardano.Node.Startup | ||
Cardano.Node.STM | ||
Cardano.Node.TraceConstraints | ||
Cardano.Node.Tracing | ||
Cardano.Node.Tracing.API | ||
Cardano.Node.Tracing.Consistency | ||
Cardano.Node.Tracing.Compat | ||
Cardano.Node.Tracing.DefaultTraceConfig | ||
Cardano.Node.Tracing.Documentation | ||
Cardano.Node.Tracing.Era.Byron | ||
Cardano.Node.Tracing.Era.HardFork | ||
Cardano.Node.Tracing.Era.Shelley | ||
Cardano.Node.Tracing.Formatting | ||
Cardano.Node.Tracing.Peers | ||
Cardano.Node.Tracing.Render | ||
Cardano.Node.Tracing.StateRep | ||
Cardano.Node.Tracing.Tracers | ||
Cardano.Node.Tracing.Tracers.BlockReplayProgress | ||
Cardano.Node.Tracing.Tracers.ChainDB | ||
Cardano.Node.Tracing.Tracers.Consensus | ||
Cardano.Node.Tracing.Tracers.ConsensusStartupException | ||
Cardano.Node.Tracing.Tracers.Diffusion | ||
Cardano.Node.Tracing.Tracers.ForgingThreadStats | ||
Cardano.Node.Tracing.Tracers.KESInfo | ||
Cardano.Node.Tracing.Tracers.NodeToClient | ||
Cardano.Node.Tracing.Tracers.NodeToNode | ||
Cardano.Node.Tracing.Tracers.NonP2P | ||
Cardano.Node.Tracing.Tracers.P2P | ||
Cardano.Node.Tracing.Tracers.Peer | ||
Cardano.Node.Tracing.Tracers.Resources | ||
Cardano.Node.Tracing.Tracers.Shutdown | ||
Cardano.Node.Tracing.Tracers.StartLeadershipCheck | ||
Cardano.Node.Tracing.Tracers.Startup | ||
Cardano.Node.Types | ||
Cardano.Tracing.Config | ||
Cardano.Tracing.HasIssuer | ||
Cardano.Tracing.Metrics | ||
Cardano.Tracing.OrphanInstances.Byron | ||
Cardano.Tracing.OrphanInstances.Common | ||
Cardano.Tracing.OrphanInstances.Consensus | ||
Cardano.Tracing.OrphanInstances.HardFork | ||
Cardano.Tracing.OrphanInstances.Network | ||
Cardano.Tracing.OrphanInstances.Shelley | ||
Cardano.Tracing.Peer | ||
Cardano.Tracing.Render | ||
Cardano.Tracing.Shutdown | ||
Cardano.Tracing.Startup | ||
Cardano.Tracing.Tracers | ||
|
||
other-modules: Paths_cardano_node | ||
autogen-modules: Paths_cardano_node | ||
|
||
build-depends: base | ||
, aeson >= 2.1.0.0 | ||
, async | ||
, base16-bytestring | ||
, bytestring | ||
, cardano-api ^>= 8.35 | ||
, cardano-crypto-class | ||
, cardano-crypto-wrapper | ||
, cardano-git-rev | ||
, cardano-ledger-alonzo | ||
, cardano-ledger-allegra | ||
, cardano-ledger-api | ||
, cardano-ledger-babbage | ||
, cardano-ledger-byron | ||
, cardano-ledger-conway | ||
, cardano-ledger-core | ||
, cardano-ledger-shelley | ||
, cardano-prelude | ||
, cardano-protocol-tpraos >= 1.0.2 | ||
, cardano-slotting >= 0.1.1 | ||
, cborg ^>= 0.2.4 | ||
, containers | ||
, contra-tracer | ||
, deepseq | ||
, directory | ||
, dns | ||
, ekg | ||
, ekg-core | ||
, filepath | ||
, formatting | ||
, generic-data | ||
, hostname | ||
, io-classes >= 0.3 | ||
, iohk-monitoring | ||
, iproute | ||
, lobemo-backend-aggregation | ||
, lobemo-backend-ekg | ||
, lobemo-backend-monitoring | ||
, lobemo-backend-trace-forwarder | ||
, mtl | ||
, network | ||
, network-mux >= 0.4 | ||
, nothunks | ||
, optparse-applicative-fork >= 0.18.1 | ||
, ouroboros-consensus ^>= 0.14 | ||
, ouroboros-consensus-cardano ^>= 0.12 | ||
, ouroboros-consensus-diffusion ^>= 0.9 | ||
, ouroboros-consensus-protocol | ||
, ouroboros-network-api | ||
, ouroboros-network ^>= 0.10 | ||
, ouroboros-network-framework | ||
, ouroboros-network-protocols ^>= 0.6 | ||
, prettyprinter | ||
, prettyprinter-ansi-terminal | ||
, psqueues | ||
, safe-exceptions | ||
, scientific | ||
, si-timers | ||
, sop-core | ||
, stm | ||
, strict-sop-core | ||
, strict-stm | ||
, time | ||
, trace-dispatcher ^>= 2.5 | ||
, trace-forward ^>= 2.2 | ||
, trace-resources ^>= 0.2.1.0 | ||
, tracer-transformers | ||
, transformers | ||
, transformers-except | ||
, typed-protocols >= 0.1 | ||
, yaml | ||
|
||
-- GHC 8.10.7 on aarch64-darwin cannot use text-2. Bump this when we | ||
-- no longer support GHC 8.10.7. | ||
build-depends: text >=1.2.5.0 | ||
|
||
executable cardano-node | ||
import: project-config | ||
hs-source-dirs: app | ||
main-is: cardano-node.hs | ||
ghc-options: -threaded | ||
-rtsopts | ||
|
||
if arch(arm) | ||
ghc-options: "-with-rtsopts=-T -I0 -A16m -N1 --disable-delayed-os-memory-return" | ||
else | ||
ghc-options: "-with-rtsopts=-T -I0 -A16m -N2 --disable-delayed-os-memory-return" | ||
|
||
other-modules: Paths_cardano_node | ||
autogen-modules: Paths_cardano_node | ||
|
||
build-depends: base | ||
, cardano-crypto-class | ||
, cardano-git-rev | ||
, cardano-node | ||
, optparse-applicative-fork | ||
, text | ||
|
||
test-suite cardano-node-test | ||
import: project-config | ||
, maybe-unix | ||
hs-source-dirs: test | ||
main-is: cardano-node-test.hs | ||
type: exitcode-stdio-1.0 | ||
|
||
build-depends: base | ||
, aeson | ||
, bytestring | ||
, cardano-crypto-class | ||
, cardano-crypto-wrapper | ||
, cardano-api | ||
, cardano-ledger-core | ||
, cardano-node | ||
, cardano-slotting | ||
, directory | ||
, filepath | ||
, hedgehog | ||
, hedgehog-corpus | ||
, hedgehog-extras | ||
, iproute | ||
, mtl | ||
, ouroboros-consensus | ||
, ouroboros-consensus-cardano | ||
, ouroboros-consensus-diffusion | ||
, ouroboros-network | ||
, ouroboros-network-api | ||
, strict-sop-core | ||
, text | ||
, time | ||
, transformers | ||
, vector | ||
, yaml | ||
|
||
other-modules: Test.Cardano.Config.Mainnet | ||
Test.Cardano.Node.FilePermissions | ||
Test.Cardano.Node.Gen | ||
Test.Cardano.Node.Json | ||
Test.Cardano.Node.POM | ||
Test.Cardano.Tracing.NewTracing.Consistency | ||
Test.Cardano.Tracing.OrphanInstances.HardFork | ||
|
||
ghc-options: -threaded -rtsopts -with-rtsopts=-N -with-rtsopts=-T |