1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-01-17 05:28:37 +01:00

Put lists back in

Pretty sure what was causing the 'back end' error was my bad markdown skills
This commit is contained in:
Ian Bertolacci 2015-07-17 10:15:29 -07:00
parent 4ae7b49219
commit 77c4ddb522

View File

@ -794,26 +794,21 @@ Installing the Compiler
Chapel can be built and installed on your average 'nix machine (and cygwin). Chapel can be built and installed on your average 'nix machine (and cygwin).
[Download the latest release version](https://github.com/chapel-lang/chapel/releases/) [Download the latest release version](https://github.com/chapel-lang/chapel/releases/)
and its as easy as and its as easy as
1. `tar -xvf chapel-1.11.0.tar.gz`
`tar -xvf chapel-1.11.0.tar.gz` 2. `cd chapel-1.11.0`
3. `make`
`cd chapel-1.11.0` 4. `source util/setchplenv.bash # or .sh or .csh or .fish`
`make`
`source util/setchplenv.bash # or .sh or .csh or .fish`
You will need to `source util/setchplenv.EXT` from the chapel directory every time your terminal starts so its suggested that you drop that command in a script that will get executed on startup (like .bashrc). You will need to `source util/setchplenv.EXT` from the chapel directory every time your terminal starts so its suggested that you drop that command in a script that will get executed on startup (like .bashrc).
Chapel is easily installed with Brew for OS X Chapel is easily installed with Brew for OS X
1. `brew update`
`brew update` 2. `brew install chapel`
`brew install chapel`
Compiling Code Compiling Code
-------------- --------------
Builds like other compilers Builds like other compilers
`chpl myFile.chpl -o myExe` `chpl myFile.chpl -o myExe`
A notable argument, `--fast` enables a number of optimizations and disables array bounds checks. Should only enable when application is stable. A notable argument, `--fast` enables a number of optimizations and disables array bounds checks. Should only enable when application is stable.