Skip to content

Commit

Permalink
dropme: logs from osx
Browse files Browse the repository at this point in the history
  • Loading branch information
dacav committed Dec 20, 2024
1 parent 5195bf7 commit 18b65d8
Showing 1 changed file with 26 additions and 2 deletions.
28 changes: 26 additions & 2 deletions build-aux/ci/build-osx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,31 @@ LIBFIDO2_PKGCONF="$(brew --prefix libfido2)/lib/pkgconfig"
OPENSSL_PKGCONF="$(brew --prefix "${OPENSSL}")/lib/pkgconfig"
export PKG_CONFIG_PATH="${LIBFIDO2_PKGCONF}:${OPENSSL_PKGCONF}"

my_prefix="$PWD/my_prefix"
my_fakeroot="$PWD/my_fakeroot"

mkdir -p "$my_prefix" && rm -rf "${my_prefix:?}/"*
mkdir -p "$my_fakeroot" && rm -rf "${my_fakeroot:?}/"*

./autogen.sh
./configure --disable-silent-rules --disable-man
make -j $(sysctl -n hw.logicalcpu)
./configure --disable-silent-rules --disable-man --prefix="$my_prefix"
make -j "$(sysctl -n hw.logicalcpu)"
make check

make install
ls -lR "$my_prefix"

make install DESTDIR="$my_fakeroot"
ls -lR "$my_prefix"

mkdir -p "$my_fakeroot" && rm -rf "${my_fakeroot:?}"/*

./configure --disable-silent-rules --disable-man --with-pam-dir="/pam-ela"
make install DESTDIR="$my_fakeroot"
ls -lR "$my_fakeroot"

make install DESTDIR="$my_fakeroot"
ls -lR "$my_fakeroot"

# Fail, so I can find failure.
false

0 comments on commit 18b65d8

Please sign in to comment.