fw876 / helloworld

GNU General Public License v3.0
3.64k stars 2.64k forks source link

Xray 1.8.4开始需求 go 1.20+ 有编译成功的吗? #1254

Closed chika0801 closed 1 year ago

chika0801 commented 1 year ago

https://github.com/fw876/helloworld/pull/1253

        rm -rf ./feeds/packages/lang/golang/golang
        svn co https://github.com/openwrt/packages/branches/openwrt-23.05/lang/golang/golang ./feeds/packages/lang/golang/golang

我试了用这个命令把go替换成1.20是失败的

请问有成功的吗?还是我操作方法应该怎么做?

chika0801 commented 1 year ago
        git clone -b master --single-branch https://github.com/immortalwrt/packages.git packages_master
        rm -rf ./feeds/packages/lang/golang
        mv ./packages_master/lang/golang ./feeds/packages/lang
        rm -rf ./packages_master

这样解决的,1.21已编译成功。

用的源码仓库是 https://github.com/hanwckf/immortalwrt-mt798x

immortalwrt/packages 21.02 分支中的 golang 版本只到1.19