Skip to content

Commit aaa6f61

Browse files
authored
Parallel compilation of amici core and models (#21)
1 parent de917a3 commit aaa6f61

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
- name: Install the package
101101
run: |
102102
python -m pip install .[all]
103-
python -m pip install amici
103+
AMICI_PARALLEL_COMPILE="" python -m pip install amici
104104
105105
#############################################
106106
## Lint
@@ -169,6 +169,8 @@ jobs:
169169
run: python -m pip install .[tests]
170170

171171
- name: Run the tests
172+
env:
173+
AMICI_PARALLEL_COMPILE: ""
172174
run: python -m pytest tests/ --cov=./biosimulators_amici/ --cov-report=xml
173175

174176
- name: Upload the coverage report to Codecov

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,13 @@ RUN apt-get update -y \
4848
# Copy code for command-line interface into image and install it
4949
COPY . /root/Biosimulators_AMICI
5050
RUN pip install pip==23.0.1
51-
RUN SETUPTOOLS_SCM_PRETEND_VERSION_FOR_BIOSIMULATORS_AMICI=${VERSION} pip install sympy /root/Biosimulators_AMICI \
51+
RUN SETUPTOOLS_SCM_PRETEND_VERSION_FOR_BIOSIMULATORS_AMICI=${VERSION} pip install /root/Biosimulators_AMICI \
5252
&& rm -rf /root/Biosimulators_AMICI
5353
#RUN pip install sympy /root/Biosimulators_AMICI amici==${SIMULATOR_VERSION} \
5454
# && rm -rf /root/Biosimulators_AMICI
5555
ENV VERBOSE=0 \
56-
MPLBACKEND=PDF
56+
MPLBACKEND=PDF \
57+
AMICI_PARALLEL_COMPILE=""
5758

5859
# Entrypoint
5960
ENTRYPOINT ["biosimulators-amici"]

0 commit comments

Comments
 (0)