Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ShellB3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
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
Ray Garcia
ShellB3
Commits
ef8cd1b3
Commit
ef8cd1b3
authored
2 years ago
by
Ray Garcia
Browse files
Options
Downloads
Patches
Plain Diff
separate out gcc build stage for dev uses
parent
072a80e3
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Dockerfile
+3
-1
3 additions, 1 deletion
Dockerfile
build-and-push.sh
+3
-1
3 additions, 1 deletion
build-and-push.sh
build-gcc.sh
+10
-0
10 additions, 0 deletions
build-gcc.sh
with
16 additions
and
2 deletions
Dockerfile
+
3
−
1
View file @
ef8cd1b3
# docker build --build-arg BORT=develop . -f shellb3-cspp-py3.Dockerfile -t shellb3-cspp-py3:latest
# docker run -e SHELLB3_ARCHIVE_DIR=/dock -it --rm -v $HOME/dock:/dock -w /opt/shellb3-cspp-py3/ShellB3 shellb3-cspp-py3 /bin/bash -l -c "unset LANG; bash shallbethree.sh bin_dist"
FROM
centos:7
FROM
centos:7
as
gcc
RUN
yum
-y
install
gcc-gfortran gcc-c++ unzip perl patch byacc bison flex glibc-devel.i686 glibc-devel.x86_64 xz epel-release wget make bzip2 xz automake autoconf m4 which
RUN
yum
-y
install
git git-lfs
RUN
test
-d
/opt
||
mkdir
/opt
...
...
@@ -15,6 +15,8 @@ ARG TRIM=cspp
ENV
PORTABLESHELLB3=true
ENV
MAKEFLAGS=-j40
RUN
./shallbethree.sh mk_gcc11
FROM
gcc
as
sb3
ARG
LINUXCPUFLAGS="-march=ivybridge -fPIC"
ENV
LINUXCPUFLAGS="${LINUXCPUFLAGS}"
# numcodecs will break on avx2 build when ivybridge arch is forced
...
...
This diff is collapsed.
Click to expand it.
build-and-push.sh
+
3
−
1
View file @
ef8cd1b3
#!/bin/bash -e
export
REVNUM
=
GIT
$(
git rev-parse
--verify
HEAD
--short
)
time
docker build
-t
shellb3:latest
\
-t
gitlab.ssec.wisc.edu:5555/cspp/buildbucket/shellb3/shellb3-centos7-gcc11-cspp-py3:r
$REVNUM
\
--build-arg
REVNUM
=
GIT
$(
git rev-parse
--verify
HEAD
--short
)
\
--build-arg
REVNUM
=
$REVNUM
\
-f
Dockerfile
.
docker push gitlab.ssec.wisc.edu:5555/cspp/buildbucket/shellb3/shellb3-centos7-gcc11-cspp-py3:r
$REVNUM
...
...
This diff is collapsed.
Click to expand it.
build-gcc.sh
0 → 100755
+
10
−
0
View file @
ef8cd1b3
#!/bin/bash -e
export
REVNUM
=
GIT
$(
git rev-parse
--verify
HEAD
--short
)
time
docker build
-t
shellb3-gcc:latest
\
-t
gitlab.ssec.wisc.edu:5555/cspp/buildbucket/shellb3/shellb3-gcc11:r
$REVNUM
\
--build-arg
REVNUM
=
$REVNUM
\
--target
gcc
\
-f
Dockerfile
.
echo
>
&2
"==> gitlab.ssec.wisc.edu:5555/cspp/buildbucket/shellb3/shellb3-gcc11:r
$REVNUM
aka shellb3-gcc:latest"
\ No newline at end of file
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