Skip to content

Use pkg-config for LMDB #4217

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .github/workflows/cabal.project.local.ci
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,3 @@ package cardano-crypto-praos

package HsOpenSSL
flags: +use-pkg-config

package lmdb
flags: +use-pkg-config
8 changes: 4 additions & 4 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,8 @@ source-repository-package
source-repository-package
type: git
location: https://github.com/input-output-hk/ouroboros-network
tag: 9be0e771edf7e5f241220bab635bebffa29d05c8
--sha256: 130acrfll51sv9fhkbxq7674md6ghaji9x9y1yqivh5c8nnp1sv1
tag: 66043d25c0d9722e9e746820da0539d01547ee61
--sha256: 094fjxiz3qfp7alvdbyrh4pzysggj7344293d4kwh2f8dc3zjz41
subdir:
monoidal-synchronisation
network-mux
Expand Down Expand Up @@ -339,8 +339,8 @@ source-repository-package
source-repository-package
type: git
location: https://github.com/input-output-hk/haskell-lmdb
tag: 3197dc555cd4edb1fa7f79ad04748b0f217752fa
--sha256: 0kp2mibaav8gm36drdsa9snn4x3hv2jjrm2h99xhmsg05dpbi6x2
tag: 5aef2ccc8b7e5e91aa609dc531df392c46eaae09
--sha256: 09sxgxylf9m78qmf1sh82ydvq3ihkgfh829yy9cd526kp75wiy86

source-repository-package
type: git
Expand Down
7 changes: 1 addition & 6 deletions doc/getting-started/building-the-node-on-windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,6 @@ cd cardano-node
Add the following to the `cabal.project.local` file (if you don't already have it, create one) in the source code folder:

```
package lmdb
extra-lib-dirs: "<lmdb-library-path> Or standard path E.g. C:\\msys64\\mingw64\\include or C:/tools/ghcup/msys64/mingw64/lib"
extra-include-dirs: "<lmdb-library-path> Or standard path E.g. C:\\msys64\\mingw64\\include or C:/tools/ghcup/msys64/mingw64/include"

-- If pkg-config is available, use it.
package HsOpenSSL
flags: +use-pkg-config

Expand Down Expand Up @@ -198,4 +193,4 @@ cabal run --builddir /c/dist exe:cardano-node -- run --help

### Speed up compilation

`reorder-goals` can affect the compilation time negatively. You can disable `reorder-goals` by setting it to `False` in `cabal.project.local`.
`reorder-goals` can affect the compilation time negatively. You can disable `reorder-goals` by setting it to `False` in `cabal.project.local`.