Skip to content
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

Update README.md for installing ponyc on Arch Linux #2341

Merged
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
27 changes: 25 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,31 @@ sudo apt-get -V install ponyc

## Arch Linux

```bash
pacman -S ponyc
Currently the ponyc package in Arch does not work because
Arch is using LLVM 5 and ponyc requires LLVM 3.7 to 3.9. Also,
building from source does not work for the same reason.

Using [Docker](#using-docker) is one choice, another is to
use [ponyc-rpm](https://github.com/winksaville/ponyc-rpm).

### ponyc-rpm
#### Prerequisites: `git` and `rpmextract`
```
sudo pacman -Syu git rpmextract
```
#### Instructions:
Clone the repo, change directory to the repo, run `makepkg -si`
or use your favorite AUR package manager.
```
git clone https://github.com/winksaville/ponyc-rpm
cd ponyc-rpm
makepkg -si
```

#### Ponyc Usage
You must pass the `--pic` parameter to ponyc on Arch Linux
```
ponyc --pic
Copy link
Member

@jemc jemc Nov 16, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that relatively recently the ability was added for enabling --pic as the default when compiling ponyc (#2113).

Would you consider updating your ponyc-rpm repo to do this instead, and save the user this extra step?

```

## Gentoo Linux
Expand Down