Skip to content

Commit

Permalink
try always installing python3-numpy
Browse files Browse the repository at this point in the history
Signed-off-by: Larry Gritz <lg@larrygritz.com>
  • Loading branch information
lgritz committed Sep 8, 2024
1 parent 23ce996 commit 8de0b71
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 22 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ jobs:
fail-fast: false
matrix:
include:
- desc: latest releases gcc13 C++20 py3.10 avx2 exr3.2 ocio2.3
- desc: latest releases gcc13 C++20 py3.12 avx2 exr3.2 ocio2.3
nametag: linux-latest-releases
runner: ubuntu-24.04
cc_compiler: gcc-13
Expand All @@ -318,7 +318,7 @@ jobs:
opencolorio_ver: v2.3.2
openexr_ver: v3.2.4
pybind11_ver: v2.13.5
python_ver: "3.10"
python_ver: "3.12"
simd: avx2,f16c
setenvs: export LIBJPEGTURBO_VERSION=3.0.3
LIBRAW_VERSION=0.21.2
Expand Down Expand Up @@ -350,7 +350,6 @@ jobs:
OIIO_CMAKE_FLAGS="-DFORTIFY_SOURCE=2"
QT_VERSION=6
EXTRA_DEP_PACKAGES="python3.12-dev python3-numpy"
PIP_INSTALLS="none"
USE_OPENVDB=0
SKIP_APT_GET_UPDATE=1
FREETYPE_VERSION=master
Expand Down
25 changes: 6 additions & 19 deletions src/build-scripts/gh-installdeps.bash
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,12 @@ else
fi

# Nonstandard python versions
if [[ "${PYTHON_VERSION}" == "3.9" ]] ; then
time sudo apt-get -q install -y python3.9-dev python3-numpy
pip3 --version
fi
if [[ "${PIP_INSTALLS:=numpy}" != "none" ]] ; then
# if [[ "${PYTHON_VERSION}" == "3.9" ]] ; then
# time sudo apt-get -q install -y python3.9-dev python3-numpy
# pip3 --version
# fi
time sudo apt-get -q install -y python3-numpy
if [[ "${PIP_INSTALLS}" != "" ]] ; then
time pip3 install ${PIP_INSTALLS}
fi

Expand All @@ -126,20 +127,6 @@ else

export CMAKE_PREFIX_PATH=/usr/lib/x86_64-linux-gnu:$CMAKE_PREFIX_PATH

# if [[ "$CXX" == "g++-9" ]] ; then
# time sudo apt-get install -y g++-9
# elif [[ "$CXX" == "g++-10" ]] ; then
# time sudo apt-get install -y g++-10
# elif [[ "$CXX" == "g++-11" ]] ; then
# time sudo apt-get install -y g++-11
# elif [[ "$CXX" == "g++-12" ]] ; then
# time sudo apt-get install -y g++-12
# elif [[ "$CXX" == "g++-13" ]] ; then
# time sudo apt-get install -y g++-13
# elif [[ "$CXX" == "g++-14" ]] ; then
# time sudo apt-get install -y g++-14
# fi

if [[ "$CXX" == "icpc" || "$CC" == "icc" || "$USE_ICC" != "" || "$USE_ICX" != "" ]] ; then
time sudo apt-get -q install -y wget
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
Expand Down

0 comments on commit 8de0b71

Please sign in to comment.