Skip to content

Commit 7a85aef

Browse files
committed
let ninja decide the number of concurrent jobs
updated appveyor
1 parent c0b14bb commit 7a85aef

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

appveyor.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: pythonocc-core-0.18.2.{build}
1+
version: pythonocc-core-7.4.0-dev.{build}
22

33
environment:
44
binstar_token:
@@ -8,7 +8,7 @@ environment:
88
# and copy paste to
99
# https://ci.appveyor.com/tools/encrypt
1010
# then copy/paste the result below
11-
secure: +BLEI1wg9klPN7BVAY1thK7n1x1/L10dWtgKzOmGCI4mg4V77hes9yj3kjZ168xf
11+
secure: 6Wllm3O0zxgpBaBDNMTQAVdcBb9tMylzp72/JlpDQjljxvmF/g8FPSDZaGVs9zR8
1212

1313
global:
1414
# SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the
@@ -50,8 +50,6 @@ platform:
5050
- x64
5151

5252
install:
53-
# Set the CONDA_NPY, although it has no impact on the actual build. We need this because of a test within conda-build.
54-
- cmd: set CONDA_NPY=19
5553
# Remove cygwin (and therefore the git that comes with it).
5654
- cmd: rmdir C:\cygwin /s /q
5755
# Use the pre-installed Miniconda for the desired arch
@@ -71,10 +69,6 @@ install:
7169
- cmd: conda update conda
7270
- cmd: conda install conda-build anaconda-client
7371
- cmd: conda config --add channels https://conda.anaconda.org/dlr-sc
74-
- cmd: conda config --add channels https://conda.anaconda.org/oce
75-
- cmd: conda config --add channels https://conda.anaconda.org/pythonocc
76-
- cmd: conda config --add channels https://conda.anaconda.org/tpaviot
77-
- cmd: set PYTHONBUFFERED=1
7872

7973
build: off
8074

ci/conda/build.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,12 @@ cmake -G Ninja -DCMAKE_INSTALL_PREFIX=$PREFIX \
1515
-DPython3_FIND_FRAMEWORK=NEVER \
1616
-DSWIG_HIDE_WARNINGS=ON \
1717
.
18+
1819
# Build step
19-
# on linux travis, limit the number of concurrent jobs otherwise
20-
# gcc gets out of memory
21-
ninja -j 2 install
20+
ninja
21+
22+
# Install step
23+
ninja install
2224

2325
# fix rpaths
2426
if [ `uname` == Darwin ]; then

0 commit comments

Comments
 (0)