aboutsummaryrefslogtreecommitdiff
path: root/compilers.md
diff options
context:
space:
mode:
Diffstat (limited to 'compilers.md')
-rw-r--r--compilers.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/compilers.md b/compilers.md
index d757f123b..ae558bbea 100644
--- a/compilers.md
+++ b/compilers.md
@@ -11,9 +11,17 @@ cd ~/lux/lux-php/ && lein clean && lein lux auto test
```
## Develop
+## NOTE: Must set lux/control/concurrency/thread.parallelism = 1 before compiling to make sure JPHP doesn't cause trouble.
cd ~/lux/lux-php/ \
&& lein clean \
&& lein lux auto build
+
+## Build JVM-based compiler
+## NOTE: Must set lux/control/concurrency/thread.parallelism = 1 before compiling to make sure JPHP doesn't cause trouble.
+cd ~/lux/lux-php/ \
+&& lein clean \
+&& lein lux build \
+&& mv target/program.jar jvm_based_compiler.jar
```
## Try