mirror of
https://github.com/anoma/juvix.git
synced 2024-12-02 10:47:32 +03:00
Juvix empowers developers to write code in a high-level, functional language, compile it to gas-efficient output VM instructions, and formally verify the safety of their contracts prior to deployment and execution.
622bedf222
Thanks to @janmasrovira for figuring out that the stack `--ghc-options=-j` flag enables [parallel module compilation in GHC](https://downloads.haskell.org/ghc/latest/docs/users_guide/using.html#using-ghc-make). This PR adds support for this in the project justfile. You can configure the argument to `-j` using the `numParallelJobs` option, for example: ``` just numParallelJobs=24 build + stack build --fast -j24 --ghc-options=-j24 ``` If `numParallelJobs` is not set then `-j` is passed with no arguments in `--ghc-options` (this is equivalent to passing the number of cpus of the machine.) and is passed with the number of cpus of the machine for the stack `-j` option (the stack `-j` option requires an argument). The `numParallelJobs` option also sets the argument to the [stack `-j` option](https://docs.haskellstack.org/en/stable/global_flags/#-jobs-or-j-option). To disable build parallelism set the `disableParallel` flag: ``` just disableParallel=yes build + stack build --fast ``` |
||
---|---|---|
.devcontainer | ||
.github | ||
app | ||
assets | ||
bench | ||
bench2 | ||
examples | ||
gnuplot | ||
include | ||
juvix-stdlib@e2efe4e6fe | ||
licenses | ||
runtime | ||
scripts | ||
src/Juvix | ||
test | ||
tests | ||
.clang-format | ||
.github_changelog_generator | ||
.gitignore | ||
.gitmodules | ||
.hlint.yaml | ||
.pre-commit-config.yaml | ||
cabal.hie.yaml | ||
cabal.project | ||
cabal.project.freeze | ||
CHANGELOG.md | ||
cntlines.sh | ||
CONTRIBUTING.md | ||
justfile | ||
LICENSE.md | ||
Makefile | ||
package.yaml | ||
README.md | ||
stack.hie.yaml | ||
stack.yaml |
Juvix
CI Status |
---|
Codebase |
This repository is specifically dedicated to the compiler of the Juvix programming language.
For any Juvix-related inquiries, we strongly advise visiting the following resources.
Our documentation offers an in-depth understanding of the Juvix programming language. It encompasses a language reference, examples, blog posts, and numerous other resources to facilitate effective use of Juvix.