Skip to content

Commit

Permalink
Use conda-provided compiler toolchain on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
dokempf committed Oct 2, 2024
1 parent d60df45 commit d81c673
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,12 @@ jobs:
environment-file: environment-dev.yml
python-version: ${{ matrix.python }}
miniconda-version: "latest"


- name: Install Conda GCC
if: runner.os == 'Linux'
run: |
conda install -y -c conda-forge gcc gxx
- name: Install Helios
run: |
python -m pip install -v .
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ git clone https://github.com/3dgeo-heidelberg/helios.git
cd helios
conda env create -f environment-dev.yml
conda activate helios-dev
# On Linux, the following line is recommended, to go with a Conda-provided compiler.
# We had issues with incompatible system compilers before.
conda install -c conda-forge gcc gxx
python -m pip install --no-deps -v -e .
```

Expand Down

0 comments on commit d81c673

Please sign in to comment.