Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
jingjingxyk committed Feb 11, 2025
1 parent 8ee09f3 commit 26f80bd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion sapi/quickstart/macos/openssl-patch-for-qemu.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

export LOGICAL_PROCESSORS=$(`nproc 2> /dev/null || sysctl -n hw.ncpu`)
export LOGICAL_PROCESSORS=$(nproc 2> /dev/null || sysctl -n hw.ncpu)
export CMAKE_BUILD_PARALLEL_LEVEL=${LOGICAL_PROCESSORS}

test -f openssl-3.4.0.tar.gz || curl -fSLo openssl-3.4.0.tar.gz https://github.com/openssl/openssl/releases/download/openssl-3.4.0/openssl-3.4.0.tar.gz
Expand Down
12 changes: 12 additions & 0 deletions sapi/quickstart/macos/qemu.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

export LOGICAL_PROCESSORS=$(nproc 2> /dev/null || sysctl -n hw.ncpu)
export CMAKE_BUILD_PARALLEL_LEVEL=${LOGICAL_PROCESSORS}



test -f qemu-9.2.0.tar.xz || curl -fSLo qemu-9.2.0.tar.xz https://download.qemu.org/qemu-9.2.0.tar.xz
test -d qemu-9.2.0 && rm -rf qemu-9.2.0
tar xvJf qemu-9.2.0.tar.xz
cd qemu-9.2.0
./configure
make -j ${LOGICAL_PROCESSORS}

0 comments on commit 26f80bd

Please sign in to comment.