diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f49dd42bf..724ec2a13 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,7 +46,7 @@ jobs: - name: Install Dependencies if: steps.cache-toolchain.outputs.cache-hit != 'true' || steps.cache-thirdparty.outputs.cache-hit != 'true' run: | - sudo bash ./ci/system_updates.sh + sudo bash ./ci/install_dependencies.sh - name: Setup Toolchain if: steps.cache-toolchain.outputs.cache-hit != 'true' @@ -75,7 +75,7 @@ jobs: - name: Install Dependencies run: | - sudo bash ./ci/system_updates.sh + sudo bash ./ci/install_dependencies.sh - name: Cache Toolchain Directory id: cache-toolchain @@ -126,7 +126,7 @@ jobs: - name: Install Dependencies run: | - sudo bash ./ci/system_updates.sh + sudo bash ./ci/install_dependencies.sh - name: Cache Toolchain Directory id: cache-toolchain diff --git a/README.md b/README.md index d789d00bd..d4ed68a59 100644 --- a/README.md +++ b/README.md @@ -44,19 +44,16 @@ More detailed build instructions can be found [here](docs/install_vortex.md). - [Ramulator](https://github.com/CMU-SAFARI/ramulator.git) - [Yosys](https://github.com/YosysHQ/yosys) - [Sv2v](https://github.com/zachjs/sv2v) -### Install development tools -```sh -sudo apt-get install build-essential -sudo apt-get install binutils -sudo apt-get install python -sudo apt-get install uuid-dev -sudo apt-get install git -``` ### Install Vortex codebase ```sh git clone --depth=1 --recursive https://github.com/vortexgpgpu/vortex.git cd vortex ``` +### Install system dependencies +```sh +# ensure dependent libraries are present +sudo ./ci/install_dependencies.sh +``` ### Configure your build folder ```sh mkdir build diff --git a/ci/system_updates.sh b/ci/install_dependencies.sh similarity index 100% rename from ci/system_updates.sh rename to ci/install_dependencies.sh diff --git a/miscs/docker/Dockerfile.ubuntu b/miscs/docker/Dockerfile.ubuntu index c3e72a0f4..f3a864ce5 100644 --- a/miscs/docker/Dockerfile.ubuntu +++ b/miscs/docker/Dockerfile.ubuntu @@ -39,7 +39,7 @@ RUN git clone --depth=1 --recursive https://github.com/vortexgpgpu/vortex.git /v WORKDIR /vortex # install system dependencies -RUN ./ci/system_updates.sh +RUN ./ci/install_dependencies.sh # Configure the build folder RUN mkdir build && cd build && ../configure