File tree 8 files changed +54
-9
lines changed
8 files changed +54
-9
lines changed Original file line number Diff line number Diff line change 32
32
restore-keys : |
33
33
${{ matrix.os }}-${{ runner.os }}-${{ runner.arch }}-cargo-build
34
34
- name : Build Axon in the development profile
35
- run : cargo build
35
+ run : |
36
+ # check for AVX2 support by inspecting `/proc/cpuinfo` or running `lscpu`
37
+ # related issue: https://github.com/axonweb3/axon/issues/1387
38
+ lscpu
39
+ # PORTABLE=1 USE_SSE=1 tell rocksdb to target AVX2
40
+ PORTABLE=1 USE_SSE=1 cargo build
36
41
37
42
- name : Start a single Axon node
38
43
env :
87
92
restore-keys : |
88
93
${{ matrix.os }}-${{ runner.os }}-${{ runner.arch }}-cargo-build
89
94
- name : Build Axon in the development profile
90
- run : cargo build
95
+ run : |
96
+ # check for AVX2 support by inspecting `/proc/cpuinfo` or running `lscpu`
97
+ # related issue: https://github.com/axonweb3/axon/issues/1387
98
+ lscpu
99
+ # PORTABLE=1 USE_SSE=1 tell rocksdb to target AVX2
100
+ PORTABLE=1 USE_SSE=1 cargo build
91
101
92
102
- name : Start multiple Axon nodes
93
103
env :
Original file line number Diff line number Diff line change 31
31
restore-keys : |
32
32
${{ matrix.os }}-${{ runner.os }}-${{ runner.arch }}-cargo-build
33
33
- name : Build Axon in the development profile
34
- run : cargo build
34
+ run : |
35
+ # check for AVX2 support by inspecting `/proc/cpuinfo` or running `lscpu`
36
+ # related issue: https://github.com/axonweb3/axon/issues/1387
37
+ lscpu
38
+ # PORTABLE=1 USE_SSE=1 tell rocksdb to target AVX2
39
+ PORTABLE=1 USE_SSE=1 cargo build
35
40
36
41
- name : Start multiple Axon nodes
37
42
env :
Original file line number Diff line number Diff line change @@ -105,7 +105,12 @@ jobs:
105
105
restore-keys : |
106
106
${{ matrix.os }}-${{ runner.os }}-${{ runner.arch }}-cargo-build
107
107
- name : Build Axon in the development profile
108
- run : cargo build
108
+ run : |
109
+ # check for AVX2 support by inspecting `/proc/cpuinfo` or running `lscpu`
110
+ # related issue: https://github.com/axonweb3/axon/issues/1387
111
+ lscpu
112
+ # PORTABLE=1 USE_SSE=1 tell rocksdb to target AVX2
113
+ PORTABLE=1 USE_SSE=1 cargo build
109
114
110
115
- name : Deploy Local Network of Axon
111
116
run : |
Original file line number Diff line number Diff line change @@ -105,7 +105,12 @@ jobs:
105
105
restore-keys : |
106
106
${{ matrix.os }}-${{ runner.os }}-${{ runner.arch }}-cargo-build
107
107
- name : Build Axon in the development profile
108
- run : cargo build
108
+ run : |
109
+ # check for AVX2 support by inspecting `/proc/cpuinfo` or running `lscpu`
110
+ # related issue: https://github.com/axonweb3/axon/issues/1387
111
+ lscpu
112
+ # PORTABLE=1 USE_SSE=1 tell rocksdb to target AVX2
113
+ PORTABLE=1 USE_SSE=1 cargo build
109
114
110
115
- name : Deploy Local Network of Axon
111
116
run : |
Original file line number Diff line number Diff line change @@ -106,7 +106,12 @@ jobs:
106
106
restore-keys : |
107
107
${{ matrix.os }}-${{ runner.os }}-${{ runner.arch }}-cargo-build
108
108
- name : Build Axon in the development profile
109
- run : cargo build
109
+ run : |
110
+ # check for AVX2 support by inspecting `/proc/cpuinfo` or running `lscpu`
111
+ # related issue: https://github.com/axonweb3/axon/issues/1387
112
+ lscpu
113
+ # PORTABLE=1 USE_SSE=1 tell rocksdb to target AVX2
114
+ PORTABLE=1 USE_SSE=1 cargo build
110
115
111
116
- name : Deploy Local Network of Axon
112
117
run : |
Original file line number Diff line number Diff line change @@ -105,7 +105,12 @@ jobs:
105
105
restore-keys : |
106
106
${{ matrix.os }}-${{ runner.os }}-${{ runner.arch }}-cargo-build
107
107
- name : Build Axon in the development profile
108
- run : cargo build
108
+ run : |
109
+ # check for AVX2 support by inspecting `/proc/cpuinfo` or running `lscpu`
110
+ # related issue: https://github.com/axonweb3/axon/issues/1387
111
+ lscpu
112
+ # PORTABLE=1 USE_SSE=1 tell rocksdb to target AVX2
113
+ PORTABLE=1 USE_SSE=1 cargo build
109
114
110
115
- name : Deploy Local Network of Axon
111
116
run : |
Original file line number Diff line number Diff line change 93
93
restore-keys : |
94
94
${{ matrix.os }}-${{ runner.os }}-${{ runner.arch }}-cargo-build
95
95
- name : Build Axon in the development profile
96
- run : cargo build
96
+ run : |
97
+ # check for AVX2 support by inspecting `/proc/cpuinfo` or running `lscpu`
98
+ # related issue: https://github.com/axonweb3/axon/issues/1387
99
+ lscpu
100
+ # PORTABLE=1 USE_SSE=1 tell rocksdb to target AVX2
101
+ PORTABLE=1 USE_SSE=1 cargo build
97
102
98
103
- name : Deploy Local Network of Axon
99
104
run : |
Original file line number Diff line number Diff line change 65
65
restore-keys : |
66
66
${{ matrix.os }}-${{ runner.os }}-${{ runner.arch }}-cargo-build
67
67
- name : Build Axon in the development profile
68
- run : cargo build
68
+ run : |
69
+ # check for AVX2 support by inspecting `/proc/cpuinfo` or running `lscpu`
70
+ # related issue: https://github.com/axonweb3/axon/issues/1387
71
+ lscpu
72
+ # PORTABLE=1 USE_SSE=1 tell rocksdb to target AVX2
73
+ PORTABLE=1 USE_SSE=1 cargo build
69
74
- name : Deploy Local Network of Axon
70
75
run : |
71
76
./target/debug/axon init \
You can’t perform that action at this time.
0 commit comments