Skip to content

Commit 2345ecf

Browse files
Merge pull request #302 from insertinterestingnamehere/cleanup
Cleanup
2 parents 1e9775a + 1cc490c commit 2345ecf

File tree

5 files changed

+60
-7
lines changed

5 files changed

+60
-7
lines changed

.circleci/config.yml

Lines changed: 49 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
make tests -j2
2929
- run:
3030
command: timeout --foreground -k 10s 2m make check
31-
no_output_timeout: 60s
31+
no_output_timeout: 180s
3232

3333
arm_clang:
3434
parameters:
@@ -59,7 +59,7 @@ jobs:
5959
make tests -j2
6060
- run:
6161
command: timeout --foreground -k 10s 2m make check
62-
no_output_timeout: 60s
62+
no_output_timeout: 180s
6363

6464
arm_sanitizers:
6565
parameters:
@@ -135,7 +135,7 @@ jobs:
135135
command: |
136136
export PATH=$PATH:/opt/arm/arm-linux-compiler-24.04_Ubuntu-22.04/bin
137137
timeout --foreground -k 10s 4m make check
138-
no_output_timeout: 60s
138+
no_output_timeout: 180s
139139

140140
nvc:
141141
parameters:
@@ -174,7 +174,7 @@ jobs:
174174
- run:
175175
command: |
176176
timeout --foreground -k 10s 4m make check
177-
no_output_timeout: 60s
177+
no_output_timeout: 180s
178178

179179
musl:
180180
parameters:
@@ -198,7 +198,7 @@ jobs:
198198
make tests -j2
199199
- run:
200200
command: make check
201-
no_output_timeout: 60s
201+
no_output_timeout: 180s
202202

203203
workflows:
204204
build_and_test:
@@ -219,6 +219,25 @@ workflows:
219219
scheduler: [nemesis, sherwood, distrib]
220220
topology: ['no', binders, hwloc]
221221
sanitizer: [address, memory, thread, undefined]
222+
exclude:
223+
- scheduler: nemesis
224+
topology: binders
225+
sanitizer: memory
226+
- scheduler: sherwood
227+
topology: binders
228+
sanitizer: memory
229+
- scheduler: distrib
230+
topology: binders
231+
sanitizer: memory
232+
- scheduler: nemesis
233+
topology: hwloc
234+
sanitizer: memory
235+
- scheduler: sherwood
236+
topology: hwloc
237+
sanitizer: memory
238+
- scheduler: distrib
239+
topology: hwloc
240+
sanitizer: memory
222241
- arm_acfl:
223242
matrix:
224243
parameters:
@@ -236,4 +255,29 @@ workflows:
236255
worker_type: [medium, arm.medium]
237256
scheduler: [nemesis, sherwood, distrib]
238257
topology: ['no', binders, hwloc]
258+
exclude:
259+
- worker_type: medium
260+
scheduler: sherwood
261+
topology: binders
262+
- worker_type: medium
263+
scheduler: sherwood
264+
topology: hwloc
265+
- worker_type: medium
266+
scheduler: distrib
267+
topology: binders
268+
- worker_type: medium
269+
scheduler: distrib
270+
topology: hwloc
271+
- worker_type: arm.medium
272+
scheduler: sherwood
273+
topology: binders
274+
- worker_type: arm.medium
275+
scheduler: sherwood
276+
topology: hwloc
277+
- worker_type: arm.medium
278+
scheduler: distrib
279+
topology: binders
280+
- worker_type: arm.medium
281+
scheduler: distrib
282+
topology: hwloc
239283

.git-blame-ignore-revs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
6901dc07127f54c060ec4046e21d05ccd7f437ab
22
3ddc9da40f8b34565c90d17ef83a9ef95a9deb18
33
d1196d946c6551b205791f47ee952412e1a3e9bc
4+
2368ba6baaeb986a16d7444edf412e3ef74296b4

include/qthread/syncvar.hpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,12 @@ class syncvar {
3232

3333
uint64_t readFF(void) {
3434
uint64_t ret = 0;
35+
#ifndef NDEBUG
3536
int status = readFF(&ret);
3637
assert(status == QTHREAD_SUCCESS);
38+
#else
39+
readFF(&ret);
40+
#endif
3741
return ret;
3842
}
3943

@@ -43,8 +47,12 @@ class syncvar {
4347

4448
uint64_t readFE(void) {
4549
uint64_t ret = 0;
50+
#ifndef NDEBUG
4651
int status = readFE(&ret);
4752
assert(status == QTHREAD_SUCCESS);
53+
#else
54+
readFE(&ret);
55+
#endif
4856
return ret;
4957
}
5058

src/affinity/binders.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ void INTERNAL qt_affinity_init(qthread_shepherd_id_t *nbshepherds,
184184
}
185185
}
186186

187-
void INTERNAL qt_affinity_deinit() {
187+
void INTERNAL qt_affinity_deinit(void) {
188188
if (sheps.binds) {
189189
for (int i = 0; i < sheps.num; i++) { hwloc_bitmap_free(sheps.binds[i]); }
190190
qt_free(sheps.binds);

src/fastcontext/context.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ void INTERNAL qt_makectxt(uctxt_t *ucp, void (*func)(void), int argc, ...) {
2929
ucp->uc_stack.ss_size / sizeof(unsigned long);
3030
sp = tos - 16;
3131
#if defined __BIG_ENDIAN__ || defined _BIG_ENDIAN
32-
ucp->mc.pc = *(long*)func;
32+
ucp->mc.pc = *(long *)func;
3333
#else
3434
ucp->mc.pc = (long)func;
3535
#endif

0 commit comments

Comments
 (0)