-
Notifications
You must be signed in to change notification settings - Fork 14
/
Makefile
168 lines (150 loc) · 6.04 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
# ---------------------------------------------------------------------
#
# Copyright (C) 2020 by the deal.II authors
#
# This file is part of the deal.II library.
#
# The deal.II library is free software; you can use it, redistribute
# it, and/or modify it under the terms of the GNU Lesser General
# Public License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
# The full text of the license can be found in the file LICENSE.md at
# the top level directory of deal.II.
#
# ---------------------------------------------------------------------
# Use no-cache option to force rebuild
# DOCKER_BUILD=docker build --no-cache
DOCKER_BUILD=docker build
# Repos:
# ppa:ginggs/deal.ii-backports
# ppa:ginggs/deal.ii-9.2.0-backports
# Version 9.1.1
v9.1.1-bionic:
$(DOCKER_BUILD) -t dealii/dealii:v9.1.1-bionic \
--build-arg VERSION=9.1.1-2~ubuntu18.04.1~ppa1 \
--build-arg REPO=ppa:ginggs/deal.ii-backports \
bionic
docker push dealii/dealii:v9.1.1-bionic
# Version 9.2.0 - Change to the correct package when it is available
v9.2.0-bionic:
$(DOCKER_BUILD) -t dealii/dealii:v9.2.0-bionic \
--build-arg VERSION=9.2.0-1~ubuntu18.04.1~ppa1 \
--build-arg REPO=ppa:ginggs/deal.ii-9.2.0-backports \
bionic
docker push dealii/dealii:v9.2.0-bionic
v9.2.0-focal:
$(DOCKER_BUILD) -t dealii/dealii:v9.2.0-focal \
--build-arg VERSION=9.2.0-1~ubuntu20.04.1~ppa1 \
--build-arg REPO=ppa:ginggs/deal.ii-9.2.0-backports \
--build-arg CLANG_VERSION=6 \
--build-arg CLANG_REPO=https://github.com/dealii/dealii/releases/download/v9.0.0/ \
focal
docker push dealii/dealii:v9.2.0-focal
v9.3.0-focal:
$(DOCKER_BUILD) -t dealii/dealii:v9.3.0-focal \
--build-arg VERSION=9.3.0-1~ubuntu20.04.1~ppa1 \
--build-arg REPO=ppa:ginggs/deal.ii-9.3.0-backports \
--build-arg CLANG_VERSION=11 \
--build-arg CLANG_REPO=https://github.com/dealii/dealii/releases/download/v9.3.0/ \
focal
docker push dealii/dealii:v9.3.0-focal
docker tag dealii/dealii:v9.3.0-focal dealii/dealii:latest
docker push dealii/dealii:latest
v9.4.0-focal:
$(DOCKER_BUILD) -t dealii/dealii:v9.4.0-focal \
--build-arg VERSION=9.4.0-1ubuntu2~bpo20.04.1~ppa1 \
--build-arg REPO=ppa:ginggs/deal.ii-9.4.0-backports \
--build-arg CLANG_VERSION=11 \
--build-arg CLANG_REPO=https://github.com/dealii/dealii/releases/download/v9.3.0/ \
focal
docker push dealii/dealii:v9.4.0-focal
docker tag dealii/dealii:v9.4.0-focal dealii/dealii:latest
docker push dealii/dealii:latest
v9.4.0-jammy:
$(DOCKER_BUILD) -t dealii/dealii:v9.4.0-jammy \
--build-arg VERSION=9.4.0-1ubuntu2~bpo22.04.1~ppa1 \
--build-arg REPO=ppa:ginggs/deal.ii-9.4.0-backports \
--build-arg CLANG_VERSION=11 \
--build-arg CLANG_REPO=https://github.com/dealii/dealii/releases/download/v9.3.0/ \
jammy
docker push dealii/dealii:v9.4.0-jammy
dependencies-focal-v9.2.0:
$(DOCKER_BUILD) -t dealii/dependencies:focal-v9.2.0 \
--build-arg IMG=focal \
--build-arg VERSION=9.2.0-1~ubuntu20.04.1~ppa1 \
--build-arg REPO=ppa:ginggs/deal.ii-9.2.0-backports \
--build-arg CLANG_VERSION=6 \
--build-arg CLANG_REPO=https://github.com/dealii/dealii/releases/download/v9.0.0/ \
dependencies
docker push dealii/dependencies:focal-v9.2.0
dependencies-focal-v9.3.0:
$(DOCKER_BUILD) -t dealii/dependencies:focal-v9.3.0 \
--build-arg IMG=focal \
--build-arg VERSION=9.3.0-1~ubuntu20.04.1~ppa1 \
--build-arg REPO=ppa:ginggs/deal.ii-9.3.0-backports \
--build-arg CLANG_VERSION=11 \
--build-arg CLANG_REPO=https://github.com/dealii/dealii/releases/download/v9.3.0/ \
dependencies
docker tag dealii/dependencies:focal dealii/dependencies:focal-v9.3.0
docker push dealii/dependencies:focal-v9.3.0
dependencies-focal:
$(DOCKER_BUILD) -t dealii/dependencies:focal \
--build-arg IMG=focal \
--build-arg VERSION=9.4.0-1ubuntu2~bpo20.04.1~ppa1 \
--build-arg REPO=ppa:ginggs/deal.ii-9.4.0-backports \
--build-arg CLANG_VERSION=11 \
--build-arg CLANG_REPO=https://github.com/dealii/dealii/releases/download/v9.3.0/ \
dependencies
docker push dealii/dependencies:focal
dependencies-jammy:
$(DOCKER_BUILD) -t dealii/dependencies:jammy \
--build-arg IMG=jammy \
--build-arg VERSION=9.4.0-1ubuntu2~bpo22.04.1~ppa1 \
--build-arg REPO=ppa:ginggs/deal.ii-9.4.0-backports \
--build-arg CLANG_VERSION=11 \
--build-arg CLANG_REPO=https://github.com/dealii/dealii/releases/download/v9.3.0/ \
dependencies
docker push dealii/dependencies:jammy
docker tag dealii/dependencies:jammy dealii/dependencies:latest
docker tag dealii/dependencies:jammy dealii/dependencies:jammy-v9.4.0
docker push dealii/dependencies:latest
docker push dealii/dependencies:jammy-v9.4.0
v9.4.2-focal:
$(DOCKER_BUILD) -t dealii/dealii:v9.4.2-focal \
--build-arg IMG=focal \
--build-arg VER=v9.4.2 \
--build-arg PROCS=80 \
github
docker push dealii/dealii:v9.4.2-focal
v9.4.2-jammy:
$(DOCKER_BUILD) -t dealii/dealii:v9.4.2-jammy \
--build-arg IMG=jammy \
--build-arg VER=v9.4.2 \
--build-arg PROCS=80 \
github
docker push dealii/dealii:v9.4.2-jammy
v9.5.0-focal:
$(DOCKER_BUILD) -t dealii/dealii:v9.5.0-focal \
--build-arg IMG=focal \
--build-arg VER=v9.5.0 \
--build-arg PROCS=12 \
github
docker push dealii/dealii:v9.5.0-focal
v9.5.0-jammy:
$(DOCKER_BUILD) -t dealii/dealii:v9.5.0-jammy \
--build-arg IMG=jammy \
--build-arg VER=v9.5.0 \
--build-arg PROCS=12 \
github
docker push dealii/dealii:v9.5.0-jammy
docker tag dealii/dealii:v9.5.0-jammy dealii/dealii:latest
docker push dealii/dealii:latest
all: dependencies-focal v9.5.0-focal dependencies-jammy v9.5.0-jammy
.PHONY: all \
v9.1.1-bionic v9.2.0-bionic \
v9.2.0-focal v9.3.0-focal v9.4.0-focal v9.4.1-focal v9.4.2-focal \
v9.5.0-focal \
v9.4.0-jammy v9.4.1-jammy v9.4.2-jammy \
v9.5.0-jammy \
dependencies-focal-v9.2.0 dependencies-focal-v9.3.0 dependencies-focal \
dependencies-jammy