Skip to content

Commit

Permalink
remove post check
Browse files Browse the repository at this point in the history
Signed-off-by: jason yang <[email protected]>
  • Loading branch information
JasonYangShadow committed Feb 21, 2025
1 parent 8fab0aa commit 445d92c
Showing 1 changed file with 8 additions and 20 deletions.
28 changes: 8 additions & 20 deletions mlocal/checks/project-post.chk
Original file line number Diff line number Diff line change
Expand Up @@ -354,24 +354,12 @@ if [ "$with_libsubid" = "1" ];then
EOF
if ! $tgtcc -x c -o $testprog ${testprog}.c -l subid >/dev/null 2>&1; then
echo "no"
echo
echo "libsubid headers are required to build Apptainer with libsubid support."
echo "To disable libsubid support run mconfig using '--without-libsubid'."
echo "Without libsubid support, singularity will not honor nss subid configuration."
echo
exit 2
fi
if ! $testprog; then
echo "no"
echo
echo "test for functional libsubid support failed."
echo "To disable libsubid support run mconfig using '--without-libsubid'."
echo "Without libsubid support, apptainer will not honor nss subid configuration."
echo
exit 2
fi
echo "yes"
libsubid=1
else
libsubid=0
else
if ! $testprog; then
echo "no"
else
echo "yes"
libsubid=1
fi
fi
fi

0 comments on commit 445d92c

Please sign in to comment.