Skip to content

Commit

Permalink
Merge pull request #179 from insertinterestingnamehere/musl
Browse files Browse the repository at this point in the history
Debugging MUSL Libc
  • Loading branch information
insertinterestingnamehere authored Nov 10, 2023
2 parents 1f29f1b + 1604f01 commit 3c09d16
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
30 changes: 30 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,30 @@ jobs:
timeout --foreground -k 10s 4m make check
no_output_timeout: 30s

musl:
parameters:
worker_type:
type: string
scheduler:
type: string
topology:
type: string
docker:
- image: alpine:latest
resource_class: << parameters.worker_type >>
steps:
- checkout
- run: |
apk add --no-cache --no-progress bash make musl-dev hwloc-dev libtool autoconf automake gcc g++
- run: |
bash autogen.sh
bash configure --enable-picky --with-scheduler=<< parameters.scheduler >> -with-topology=<< parameters.topology >> || cat config.log
cat config.log
make -j2
- run:
command: make check
no_output_timeout: 30s

workflows:
build_and_test:
jobs:
Expand All @@ -155,4 +179,10 @@ workflows:
parameters:
scheduler: [nemesis, sherwood, distrib]
topology: ['no', binders, hwloc]
- musl:
matrix:
parameters:
worker_type: [medium, arm.medium]
scheduler: [nemesis, sherwood, distrib]
topology: ['no', binders, hwloc]

2 changes: 1 addition & 1 deletion config/qthread_check_makecontext.m4
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ AC_CACHE_CHECK([for hand-implemented makecontext],
*tile*)
qthread_cv_makecontext="yes"
;;
*-linux-gnu*|*-linux)
*-linux-gnu*|*-linux|*-linux-musl)
qthread_cv_makecontext="yes"
;;
*-cygwin)
Expand Down

0 comments on commit 3c09d16

Please sign in to comment.