mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 18:53:35 +00:00
Fresh dep ensure
This commit is contained in:
3
vendor/k8s.io/kubernetes/test/images/node-perf/npb-ep/BASEIMAGE
generated
vendored
Normal file
3
vendor/k8s.io/kubernetes/test/images/node-perf/npb-ep/BASEIMAGE
generated
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
amd64=debian:stretch-slim
|
||||
arm64=arm64v8/debian:stretch-slim
|
||||
ppc64le=ppc64le/debian:stretch-slim
|
42
vendor/k8s.io/kubernetes/test/images/node-perf/npb-ep/Dockerfile
generated
vendored
Normal file
42
vendor/k8s.io/kubernetes/test/images/node-perf/npb-ep/Dockerfile
generated
vendored
Normal file
@ -0,0 +1,42 @@
|
||||
# Copyright 2018 The Kubernetes Authors.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
FROM BASEIMAGE as build_node_perf_npb_ep
|
||||
|
||||
CROSS_BUILD_COPY qemu-QEMUARCH-static /usr/bin/
|
||||
|
||||
RUN apt-get update && apt-get install -y build-essential gfortran
|
||||
|
||||
ADD http://www.nas.nasa.gov/assets/npb/NPB3.3.1.tar.gz .
|
||||
RUN tar xzf NPB3.3.1.tar.gz
|
||||
|
||||
WORKDIR ./NPB3.3.1/NPB3.3-OMP
|
||||
RUN if [ $(arch) != "x86_64" ]; then \
|
||||
sed s/-mcmodel=medium//g config/NAS.samples/make.def.gcc_x86 > config/make.def; \
|
||||
else \
|
||||
cp config/NAS.samples/make.def.gcc_x86 config/make.def; \
|
||||
fi
|
||||
RUN make EP CLASS=D
|
||||
|
||||
# Copying the required libraries (shared object files) to a convenient location so that it can be copied into the
|
||||
# main container in the second build stage.
|
||||
RUN mkdir -p /lib-copy && find /usr/lib -name "*.so.*" -exec cp {} /lib-copy \;
|
||||
|
||||
FROM BASEIMAGE
|
||||
|
||||
COPY --from=build_node_perf_npb_ep /NPB3.3.1/NPB3.3-OMP/bin/ep.D.x /
|
||||
COPY --from=build_node_perf_npb_ep /lib-copy /lib-copy
|
||||
ENV LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/lib-copy"
|
||||
|
||||
ENTRYPOINT /ep.D.x
|
16
vendor/k8s.io/kubernetes/test/images/node-perf/npb-ep/README.md
generated
vendored
Normal file
16
vendor/k8s.io/kubernetes/test/images/node-perf/npb-ep/README.md
generated
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
## NAS Parallel Benchmark Suite - Embarrassingly Parallel (EP) Benchmark
|
||||
|
||||
The container image described here runs the EP benchmark from the
|
||||
[NAS parallel benchmark suite.](https://www.nas.nasa.gov/publications/npb.html)
|
||||
This image is used as a workload in in node performance testing.
|
||||
|
||||
## How to release:
|
||||
```
|
||||
# Build
|
||||
$ cd $K8S_ROOT/test/images
|
||||
$ make all WHAT=node-perf/npb-ep
|
||||
|
||||
# Push
|
||||
$ cd $K8S_ROOT/test/images
|
||||
$ make all-push WHAT=node-perf/npb-ep
|
||||
```
|
1
vendor/k8s.io/kubernetes/test/images/node-perf/npb-ep/VERSION
generated
vendored
Normal file
1
vendor/k8s.io/kubernetes/test/images/node-perf/npb-ep/VERSION
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
1.0
|
Reference in New Issue
Block a user