mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
Updates to PGF2 readme
This commit is contained in:
@@ -9,13 +9,22 @@ The exposed modules are:
|
||||
|
||||
## How to compile
|
||||
|
||||
**Note:** you must have the PGF C runtime already installed and available.
|
||||
**Important:** You must have the C runtime already installed and available on your system.
|
||||
See <https://github.com/GrammaticalFramework/gf-core/blob/master/src/runtime/c/INSTALL>
|
||||
|
||||
Once the runtine is installed, you can use:
|
||||
Once the runtine is installed, you can install the library to your global Cabal installation:
|
||||
|
||||
```
|
||||
cabal install pgf2
|
||||
cabal install pgf2 --extra-lib-dirs=/usr/local/lib
|
||||
```
|
||||
|
||||
or add it to your `stack.yaml` file:
|
||||
|
||||
```yaml
|
||||
extra-deps:
|
||||
- pgf2
|
||||
extra-lib-dirs:
|
||||
- /usr/local/lib
|
||||
```
|
||||
|
||||
## How to use
|
||||
|
||||
@@ -1 +1,3 @@
|
||||
# This is mainly here so that I can run `stack sdist` for uploading to Hackage
|
||||
|
||||
resolver: lts-12.26 # ghc 8.4.4
|
||||
|
||||
Reference in New Issue
Block a user