diff --git a/README.md b/README.md index 49502b582f..6324f41306 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/doc/src/installation.md b/doc/src/installation.md index e9db50cf92..bc02241cab 100644 --- a/doc/src/installation.md +++ b/doc/src/installation.md @@ -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. diff --git a/environment_unix.yml b/environment_unix.yml index 0942bbcbaf..af7dffcff0 100644 --- a/environment_unix.yml +++ b/environment_unix.yml @@ -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 diff --git a/environment_win.yml b/environment_win.yml index af80e30c7c..60774b822c 100644 --- a/environment_win.yml +++ b/environment_win.yml @@ -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