Skip to content

Commit

Permalink
place python in /opt
Browse files Browse the repository at this point in the history
  • Loading branch information
NadeemYaseen committed Apr 15, 2024
1 parent 3266489 commit a3310c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ENV CC=/opt/rh/devtoolset-11/root/usr/bin/gcc
ENV CXX=/opt/rh/devtoolset-11/root/usr/bin/g++
ENV QMAKE_CC='/opt/rh/devtoolset-11/root/usr/bin/gcc'
ENV QMAKE_CXX='/opt/rh/devtoolset-11/root/usr/bin/g++'
ENV PATH="/usr/local/Qt6.2.4/bin:/usr/lib/ccache:$PATH"
ENV PATH="/opt/python3.8/bin:/usr/local/Qt6.2.4/bin:/usr/lib/ccache:$PATH"
ENV PREFIX=/tmp/foedag-install
ENV ADDITIONAL_CMAKE_OPTIONS='-DMY_CXX_WARNING_FLAGS="-W -Wall -Wextra -Wno-unused-parameter -Wno-unused-variable -Werror -UNDEBUG"'
ENV RULE_MESSAGES=off
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/install_centos_dependencies_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@ fi

wget https://github.com/os-fpga/post_build_artifacts/releases/download/v0.1/python3.8_static_zlib_8march_2023.tar.gz -O python.tar.gz
tar -xzf python.tar.gz
ln -sf /python3.8/bin/python3.8 /usr/bin/python3
ln -sf /python3.8/include/python3.8 /usr/include/python3.8
cd /usr/lib64/ && ln -sf /python3.8/lib/libpython3.8.* . && cd -
cd /usr/lib64/ && ln -sf /python3.8/lib/python3.8 . && cd -
mv python3.8 /opt

yum clean all

0 comments on commit a3310c6

Please sign in to comment.