Skip to content

Commit

Permalink
Added zstd-static package to the conda environment configuration fi…
Browse files Browse the repository at this point in the history
…les. (lcompilers#2540)

* Added `flex` and `zstd-static=1.5.5` packages.

* Added `flex` and `zstd-static=1.5.5` packages.

* Incorporated suggestions from lcompilers#2537

Moved global package installations to conda environment.

* Updated README.md to reflect changes suggested in lcompilers#2537

* Remove `flex`

* Remove `flex`
  • Loading branch information
kmr-srbh committed Feb 18, 2024
1 parent 5c7e247 commit 6379e73
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 36 deletions.
10 changes: 2 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,10 @@ Follow the steps below to install and run LPython on Linux, Windows or macOS.

- ### Set up your system
- Linux
- Make sure you have `g++` and `cmake` installed. If not, install them using the below command:
- Run the following command to install some global build dependencies:

```bash
sudo apt-get install g++ cmake
```

- Run the following command to install the build dependencies:

```bash
sudo apt-get install binutils-dev build-essential zlib1g-dev bison re2c flex
sudo apt-get install build-essential binutils-dev clang zlib1g-dev
```
- Windows
- Download and install [Microsoft Visual Studio Community](https://visualstudio.microsoft.com/downloads/) for free.
Expand Down
10 changes: 2 additions & 8 deletions doc/src/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,10 @@ Follow the steps below to install and run LPython on Linux, Windows or macOS.

- ### Set up your system
- Linux
- Make sure you have `g++` and `cmake` installed. If not, install them using the below command:
- Run the following command to install some global build dependencies:

```bash
sudo apt-get install g++ cmake
```

- Run the following command to install the build dependencies:

```bash
sudo apt-get install binutils-dev build-essential zlib1g-dev bison re2c flex
sudo apt-get install build-essential binutils-dev clang zlib1g-dev
```
- Windows
- Download and install [Microsoft Visual Studio Community](https://visualstudio.microsoft.com/downloads/) for free.
Expand Down
19 changes: 10 additions & 9 deletions environment_unix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@ name: lp
channels:
- conda-forge
dependencies:
- bison=3.4
- cmake
- flake8
- llvmdev=11.0.1
- make
- numpy
- git
- pip
- python=3.10.2
- make
- re2c
- setuptools
- toml
- zlib
- git
- cmake
- numpy
- flake8
- setuptools
- bison=3.4
- python=3.10.2
- llvmdev=11.0.1
- zstd-static=1.5.5
23 changes: 12 additions & 11 deletions environment_win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,19 @@ name: lp
channels:
- conda-forge
dependencies:
- python=3.10.2
- numpy
- flake8
- git
- pip
- make
- re2c
- toml
- zlib
- cmake
- ninja
- numpy
- xonsh
- flake8
- setuptools
- llvmdev=11.1.0
- python=3.10.2
- m2-bison=3.0.4
- re2c
- xonsh
- ninja
- cmake
- make
- zlib
- git
- llvmdev=11.1.0
- zstd-static=1.5.5

0 comments on commit 6379e73

Please sign in to comment.