1 Star 0 Fork 0

笑只是一种习惯/keystone

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
make-share.sh 849 Bytes
一键复制 编辑 原始数据 按行查看 历史
#!/bin/sh -e
# Build shared library of Keystone Engine
# syntax: make-share.sh [debug] [macos-universal|macos-no-universal] [lib32] [lib_only]
usage()
{
echo ""
echo "Syntax: make-share.sh [debug] [macos-universal] [lib64]"
echo ""
echo " debug: build with debug info"
echo " macos-universal: build MacOS universal binaries"
echo " macos-no-universal: do not build MacOS universal binaries (default)"
echo " lib_only: skip kstool & only build libraries"
echo " lib32: build 32bit libraries on 64bit system"
echo ""
}
. "$(dirname "$0")"/make-common.sh
cmake -DBUILD_LIBS_ONLY=$BUILD_LIBS_ONLY -DLLVM_BUILD_32_BITS="$LLVM_BUILD_32_BITS" -DCMAKE_OSX_ARCHITECTURES="$ARCH" -DCMAKE_BUILD_TYPE=$BUILDTYPE -DBUILD_SHARED_LIBS=ON -DLLVM_TARGETS_TO_BUILD="all" -G "Unix Makefiles" ..
make -j8
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mysmile/keystone.git
git@gitee.com:mysmile/keystone.git
mysmile
keystone
keystone
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385