1 Star 0 Fork 0

Weiyi Chen/psi

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
dependencies.sh 992 Bytes
一键复制 编辑 原始数据 按行查看 历史
Timon Gehr 提交于 2023-04-01 08:46 +08:00 . Update compilers.
#!/bin/bash
if [ ! -d dmd2 ]; then
VERSION="2.102.2"
if [[ "$OSTYPE" == "linux-gnu" ]]; then
FILE="dmd.$VERSION.linux.zip"
SUM1="5e22d624323e0c17b5e73a1784bbdb67 $FILE"
MD5="md5sum"
elif [[ "$OSTYPE" == "darwin"* ]]; then
FILE="dmd.$VERSION.osx.zip"
SUM1="MD5 ($FILE) = ac868f5c9d8aa4dfeb52149d34655935"
MD5="md5"
else
>&2 echo "This script does not support your platform at this time."
>&2 echo "Try to obtain the dmd d compiler manually from:"
>&2 echo "https://dlang.org"
>&2 echo "Pull requests for improved build script welcome."
exit 1;
fi
ZIPLINK="http://downloads.dlang.org/releases/2.x/$VERSION/$FILE"
wget -nc $ZIPLINK
SUM2=`$MD5 $FILE`
if [[ $SUM1 != $SUM2 ]]; then
echo "ERROR: md5 sum mismatch"
echo "EXPECTED: $SUM1"
echo "GOT : $SUM2"
else
unzip $FILE
fi
fi
git submodule init
git submodule update
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ikitsu/psi.git
git@gitee.com:ikitsu/psi.git
ikitsu
psi
psi
master

搜索帮助