Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
docker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ag-ohlberger
dune-community
docker
Commits
6fa9e1db
Unverified
Commit
6fa9e1db
authored
2 years ago
by
René Fritze
Browse files
Options
Downloads
Patches
Plain Diff
[manylinux] setup ccache
parent
65052453
No related branches found
No related tags found
1 merge request
!129
Wheelbuilder ccache
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
manylinux/common_context/pybin.sh
+3
-1
3 additions, 1 deletion
manylinux/common_context/pybin.sh
manylinux/include/wheelbuilder_2_28_x86_64
+7
-4
7 additions, 4 deletions
manylinux/include/wheelbuilder_2_28_x86_64
with
10 additions
and
5 deletions
manylinux/common_context/pybin.sh
+
3
−
1
View file @
6fa9e1db
...
...
@@ -5,4 +5,6 @@ export PYVER
PYTHON_ROOT_DIR
=
/opt/python/
${
PYVER
}
export
PYTHON_ROOT_DIR
PYBIN
=
${
PYTHON_ROOT_DIR
}
/bin
export
PATH
=
${
PYBIN
}
:
${
PATH
}
export
PYBIN
PATH
=
${
CCACHE_BIN_DIR
}
:
${
PYBIN
}
:
${
PATH
}
export
PATH
This diff is collapsed.
Click to expand it.
manylinux/include/wheelbuilder_2_28_x86_64
+
7
−
4
View file @
6fa9e1db
...
...
@@ -22,7 +22,8 @@ ENV MPICC=/usr/lib64/openmpi/bin/mpicc \
WHEEL_DIR=/home/dxt/src/docker/wheelhouse \
PLATFORM=manylinux_2_28_x86_64 \
PY_SHORT=M4_PY_SHORT \
PIP_VERSION=22.2.2
PIP_VERSION=22.2.2 \
CCACHE_BIN_DIR=/usr/local/ccache/bin
# dunecontrol/cmake finds ALL of the pythons in /usr/local/bin if we don't delete them
# it ignores the PYTHON_ROOT setting
...
...
@@ -35,13 +36,15 @@ RUN echo "alias ls='ls -h --color=auto';\
rm /usr/local/bin/python3* && \
/opt/python/${PY_SHORT}/bin/python -m pip install wheel auditwheel && \
/opt/python/${PY_SHORT}/bin/python -m pip install pip==${PIP_VERSION} && \
wget -c https://github.com/ccache/ccache/releases/download/v4.
6.3
/ccache-4.
6.3
-linux-x86_64.tar.xz -O - | tar Jx && \
wget -c https://github.com/ccache/ccache/releases/download/v4.
7
/ccache-4.
7
-linux-x86_64.tar.xz -O - | tar Jx && \
mv ccache-*/ccache /usr/local/bin && \
rm -rf ccache-*
rm -rf ccache-* && \
mkdir -p ${CCACHE_BIN_DIR} \
cd ${CCACHE_BIN_DIR} && \
(for ii in cc c++ cpp g++ gcc ; do ln -s $(which ccache) $ii; done )
COPY entrypoint.sh /usr/local/bin/
COPY gosu-amd64 /usr/local/bin/gosu
COPY build-wheels.sh /usr/local/bin/
RUN chmod +x /usr/local/bin/*
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment