message: circleci: use SKBUILD_CONFIGURE_OPTIONS instead pip options
diff: @@ -20,12 +20,17 @@ jobs:
  export TZ=America/USA
  apt update
  apt install -y build-essential libantlr4-runtime-dev antlr4 cmake ninja-build python3-pip python3-dev python3 python3-pip git lcov rubygems
  - update-alternatives --install /usr/bin/python python /usr/bin/python3 1
  + echo 'export SKBUILD_CONFIGURE_OPTIONS="-DCMAKE_BUILD_TYPE:STRING=Debug -DCODE_COVERAGE=ON"' >> $BASH_ENV
  + # because we do not have enough RAM
  + echo 'export SKBUILD_BUILD_OPTIONS="-j1"' >> $BASH_ENV
  + source $BASH_ENV
  +
  - run:
  command: |
  update-alternatives --install /usr/bin/python python /usr/bin/python3 10;
  update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 10;
  +
  - run: git submodule sync
  - run: git submodule update --init
  # - python/load-cache
  @@ -44,7 +49,7 @@ jobs:
  # echo export CXXFLAGS=\"$CXXFLAGS --param ggc-min-expand=1 --param ggc-min-heapsize=32768\" >> "$BASH_ENV"
  - py/install-setup-py:
  rm-package-dir: true
  - build-args: "--user -j1 --build-type Debug -- -DCODE_COVERAGE=ON" # because we do not have enough RAM
  + build-args: "--user"
  # - python/save-cache
  - py/test-and-coverage:
  coverage: false
  @@ -79,14 +84,14 @@ jobs:
  export TZ=America/USA
  apt update
  apt install -y build-essential libantlr4-runtime-dev antlr4 cmake ninja-build python3-pip python3-dev python3 python3-pip git lcov rubygems
  - # because of coverage (tool named coverage)
  - echo 'export PATH=$PATH:/root/.local/bin' >> $BASH_ENV
  - update-alternatives --install /usr/bin/python python /usr/bin/python3 1
  + # because we do not have enough RAM
  + echo 'export SKBUILD_BUILD_OPTIONS="-j1"' >> $BASH_ENV
  source $BASH_ENV
  - run:
  command: |
  update-alternatives --install /usr/bin/python python /usr/bin/python3 10;
  update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 10;
  +
  - run: git submodule sync
  - run: git submodule update --init
  # - python/load-cache
  @@ -105,7 +110,7 @@ jobs:
  # echo export CXXFLAGS=\"$CXXFLAGS --param ggc-min-expand=1 --param ggc-min-heapsize=32768\" >> "$BASH_ENV"
  - py/install-setup-py:
  rm-package-dir: true
  - build-args: "--user -j1" # because we do not have enough RAM
  + build-args: "--user"
  # - python/save-cache
  - py/test-and-coverage:
  coverage: false
  