File tree 11 files changed +17
-27
lines changed
11 files changed +17
-27
lines changed Original file line number Diff line number Diff line change @@ -233,6 +233,9 @@ jobs:
233
233
os : [ubuntu-20.04]
234
234
steps :
235
235
- uses : actions/checkout@v2
236
+ - uses : actions/setup-node@v2
237
+ with :
238
+ node-version : 14.x
236
239
- uses : actions/download-artifact@v2
237
240
with :
238
241
# Artifact name
Original file line number Diff line number Diff line change 16
16
- uses : actions/setup-node@v2
17
17
with :
18
18
node-version : 14.x
19
- - name : Install
20
- run : |
21
- npm install --global yarn
22
- yarn --version
23
- yarn global bin
24
- docker info
25
19
- name : Build
26
20
run : |
27
21
pushd website
28
22
yarn
29
23
yarn build
30
24
popd
31
-
32
-
33
-
34
-
35
-
36
-
37
-
38
-
39
-
40
-
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ environments:
37
37
docker : chapel/chapel
38
38
include : chapel
39
39
include_sub_dir : src
40
- build : mason build --release --show --static --ccflags -march=skylake
40
+ build : mason build --release --show --static --ccflags -march=broadwell
41
41
after_build :
42
42
- cp target/release/app out
43
43
out_dir : out
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ environments:
28
28
version : 10
29
29
docker :
30
30
include :
31
- build : gfortran-10 -O3 -march=skylake -fomit-frame-pointer -fopenmp -lpthread -lgmp -o out/app app.f90
31
+ build : gfortran-10 -O3 -march=broadwell -fomit-frame-pointer -fopenmp -lpthread -lgmp -o out/app app.f90
32
32
out_dir : out
33
33
run_cmd : app
34
34
- os : linux
@@ -37,6 +37,6 @@ environments:
37
37
version : 7
38
38
docker :
39
39
include :
40
- build : flang -O3 -march=skylake -fopenmp -L/usr/lib/llvm-7/lib/ -fopenmp-simd -lgmp -o out/app app.f90
40
+ build : flang -O3 -march=broadwell -fopenmp -L/usr/lib/llvm-7/lib/ -fopenmp-simd -lgmp -o out/app app.f90
41
41
out_dir : out
42
42
run_cmd : app
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ environments:
70
70
# - /tmp/rs/target:/tmp/rs/target
71
71
# - /tmp/.cargo/registry:/usr/local/cargo/registry
72
72
env :
73
- RUSTFLAGS : -Ctarget-cpu=skylake
73
+ RUSTFLAGS : -Ctarget-cpu=broadwell
74
74
include : rust
75
75
include_sub_dir : src
76
76
build : cargo +stable build --release --target-dir /tmp/rs/target -v
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ environments:
26
26
compiler : rustc
27
27
version : nightly
28
28
env :
29
- RUSTFLAGS : -Ctarget-cpu=skylake
29
+ RUSTFLAGS : -Ctarget-cpu=broadwell
30
30
include : rust-nightly
31
31
include_sub_dir : src
32
32
build : cargo +nightly build --release --target-dir /tmp/rsn/target -v
Original file line number Diff line number Diff line change @@ -43,6 +43,6 @@ environments:
43
43
version : latest
44
44
docker :
45
45
include : zig
46
- build : zig build -Dcpu=skylake --verbose-llvm-cpu-features
46
+ build : zig build -Dcpu=broadwell --verbose-llvm-cpu-features
47
47
out_dir : out
48
48
run_cmd : app
Original file line number Diff line number Diff line change 1
- -pipe -Wall -O3 -fomit-frame-pointer -march=skylake -fopenmp -pthread -lapr-1 -I/usr/include/apr-1.0 -o app app.c -lm
1
+ -pipe -Wall -O3 -fomit-frame-pointer -march=broadwell -fopenmp -pthread -lapr-1 -I/usr/include/apr-1.0 -o app app.c -lm
Original file line number Diff line number Diff line change 1
- -pipe -Wall -O3 -fomit-frame-pointer -march=skylake -std=c++20 -static-libstdc++ -fopenmp -pthread -o app app.cpp
1
+ -pipe -Wall -O3 -fomit-frame-pointer -march=broadwell -std=c++20 -static-libstdc++ -fopenmp -pthread -o app app.cpp
Original file line number Diff line number Diff line change 7
7
100
8
8
-O3
9
9
-cc
10
- "gcc -pipe -Wall -O3 -fomit-frame-pointer -march=skylake -fopenmp"
10
+ "gcc -pipe -Wall -O3 -fomit-frame-pointer -march=broadwell -fopenmp"
11
11
-nodynlink
12
12
-noassert
13
13
-unsafe
Original file line number Diff line number Diff line change @@ -105,9 +105,12 @@ public static async Task Main(
105
105
if ( cpuInfo != null )
106
106
{
107
107
Logger . Info ( cpuInfo . ToString ( ) ) ;
108
- if ( GithubActionUtils . IsGithubBuild && task == TaskBench && cpuInfo . Model < 80 )
108
+ if ( GithubActionUtils . IsGithubBuild && task == TaskBench && cpuInfo . Model < 79 )
109
109
{
110
- throw new Exception ( "[github action] Fail intentionally on old cpu model prior to skylake, please retry." ) ;
110
+ // To print cpu features, use
111
+ // either: 'rustc +nightly --print=cfg -C target-cpu=broadwell' (features like avx512 are missing from stable)
112
+ // or 'zig build -Dcpu=broadwell --verbose-llvm-cpu-features'
113
+ throw new Exception ( "[github action] Fail intentionally on old cpu model prior to broadwell, please retry." ) ;
111
114
}
112
115
}
113
116
You can’t perform that action at this time.
0 commit comments