Commit f5eae7eb authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Pypy pybind handling: Disable force-copying of environment, switch to...

Pypy pybind handling: Disable force-copying of environment, switch to @isuruf's pypy3-enablement branch
parent 1319dc08
Loading
Loading
Loading
Loading
+9 −4
Original line number Diff line number Diff line
@@ -103,12 +103,17 @@ if test "$EXTRA_INSTALL" != ""; then
    #  $PIP install git+https://bitbucket.org/pypy/numpy.git
    if [[ "$i" = *pybind11* ]] && [[ "${PY_EXE}" == pypy* ]]; then
      # Work around https://github.com/pypa/virtualenv/issues/1198
      # (now fixed: commented out on Mar 28, 2020, OK to remove if no trouble in a few months)
      # Running virtualenv --always-copy or -m venv --copies should also do the trick.
      L=$(readlink .env/include)
      rm .env/include
      cp -R $L .env/include
      # L=$(readlink .env/include)
      # rm .env/include
      # cp -R $L .env/include

      # context:
      # https://github.com/conda-forge/pyopencl-feedstock/pull/45
      # https://github.com/pybind/pybind11/pull/2146
      $PIP install git+https://github.com/isuruf/pybind11@pypy3

      $PIP install $i
    elif [ "$i" = "numpy" ] && [[ "${PY_EXE}" == python2.6* ]]; then
      $PIP install 'numpy==1.10.4'
    else