Skip to content

Commit c5e86d8

Browse files
kmr-srbhAgent-Hellboy
authored andcommitted
Added zstd-static package to the conda environment configuration files. (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`
1 parent 5b9d0fd commit c5e86d8

File tree

4 files changed

+26
-36
lines changed

4 files changed

+26
-36
lines changed

README.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,10 @@ Follow the steps below to install and run LPython on Linux, Windows or macOS.
3636

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

4141
```bash
42-
sudo apt-get install g++ cmake
43-
```
44-
45-
- Run the following command to install the build dependencies:
46-
47-
```bash
48-
sudo apt-get install binutils-dev build-essential zlib1g-dev bison re2c flex
42+
sudo apt-get install build-essential binutils-dev clang zlib1g-dev
4943
```
5044
- Windows
5145
- Download and install [Microsoft Visual Studio Community](https://visualstudio.microsoft.com/downloads/) for free.

doc/src/installation.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,10 @@ Follow the steps below to install and run LPython on Linux, Windows or macOS.
1212

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

1717
```bash
18-
sudo apt-get install g++ cmake
19-
```
20-
21-
- Run the following command to install the build dependencies:
22-
23-
```bash
24-
sudo apt-get install binutils-dev build-essential zlib1g-dev bison re2c flex
18+
sudo apt-get install build-essential binutils-dev clang zlib1g-dev
2519
```
2620
- Windows
2721
- Download and install [Microsoft Visual Studio Community](https://visualstudio.microsoft.com/downloads/) for free.

environment_unix.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@ name: lp
22
channels:
33
- conda-forge
44
dependencies:
5-
- bison=3.4
6-
- cmake
7-
- flake8
8-
- llvmdev=11.0.1
9-
- make
10-
- numpy
5+
- git
116
- pip
12-
- python=3.10.2
7+
- make
138
- re2c
14-
- setuptools
159
- toml
1610
- zlib
17-
- git
11+
- cmake
12+
- numpy
13+
- flake8
14+
- setuptools
15+
- bison=3.4
16+
- python=3.10.2
17+
- llvmdev=11.0.1
18+
- zstd-static=1.5.5

environment_win.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,19 @@ name: lp
22
channels:
33
- conda-forge
44
dependencies:
5-
- python=3.10.2
6-
- numpy
7-
- flake8
5+
- git
86
- pip
7+
- make
8+
- re2c
99
- toml
10+
- zlib
11+
- cmake
12+
- ninja
13+
- numpy
14+
- xonsh
15+
- flake8
1016
- setuptools
11-
- llvmdev=11.1.0
17+
- python=3.10.2
1218
- m2-bison=3.0.4
13-
- re2c
14-
- xonsh
15-
- ninja
16-
- cmake
17-
- make
18-
- zlib
19-
- git
19+
- llvmdev=11.1.0
20+
- zstd-static=1.5.5

0 commit comments

Comments
 (0)