dev-lang/rust-bin: introduce neon useflag for ARMv7+
This commit is contained in:
parent
f8823e54cb
commit
a1fa4e6f52
@ -1,6 +1,7 @@
|
||||
DIST rust-1.14.0-arm-unknown-linux-gnueabihf.tar.gz 128006496 SHA256 1bb888e56adb5a38b8238711e3a61f1cc640a46e091f76ace3efd392485e98b1 SHA512 2360207d53cfaf808372fff11e516f84590dd75a61131b190c5583f1cd8eb99edc8bea715c19a856515ba047fc29d8cb6d4e9c481ab593be97db7fbc18356123 WHIRLPOOL c851caf01b7f7185836b50ba7f7af4d47caa2eb57d0f126bb7aaf3cbacf729afccb9b58f3b452b02f539b1367514f424049791a39b5d69264963746dc6d7b1d4
|
||||
DIST rust-1.14.0-armv7-unknown-linux-gnueabihf.tar.gz 126374178 SHA256 cb0b5f64c2699640357d0edb336366ad7b088f084fbb76fc8df7798da420520b SHA512 4606b3cf7f3c0d6116cc1c3a5e3a1b54e02b128358784b7b044aea8019948ceb9280b6fbc1476f40b12d85a4b24e5824d39948c3240832023d280e99f343a77f WHIRLPOOL 4f7932e3ec915132db192dde09484502ae54cd889d52f268b18b6b7a69c6746ba78fef9f85a037c7d1fea8dbbe43565a2b27c276658fd6986a24525b93386970
|
||||
DIST rust-1.14.0-i686-unknown-linux-gnu.tar.gz 126452488 SHA256 8d5c75728b44468216f99651dfae9d60ae0696a77105dd2b02942d75f3256840 SHA512 2e1cd7cb1c9a1c147fcfe16f5eac3876b88a5a04bc1a6d2386756181986046b8636c317fb76834ca75aec99f0bcf9e5ce760eacf74b4b9811210db4a59fdb66f WHIRLPOOL 9f2a6a0462b9494566c5be7475ca15280b35229756789e3dda01ba7eefe5ae3eab6c804fd7183641890efa16aa22ff0e9153ef6c8b8379f76d0c44b98027a483
|
||||
DIST rust-1.14.0-mips-unknown-linux-gnu.tar.gz 130612674 SHA256 ee87b5a38a3dd1e97fffda4f6915264e09893958db3d3b13b322c3629784a46a SHA512 617b8d7f06ed658c0d0b8f360b55c43a86a7f7e5a02dcdb65774066742c31f1302dd97dd4ecb6d56b237ed82f48ee71b0fd93db1a5af66e009d679cffe24e07f WHIRLPOOL 31a61f986fb6daf40e73ef1ef62bb53165b205b43f1c6b2721360a05ecbb33581299b7bf6a09038e2cdc7bbccf748107c23ed7e05dd93a04383062401198c872
|
||||
DIST rust-1.14.0-powerpc64-unknown-linux-gnu.tar.gz 131762135 SHA256 86b0179e4b706594ee03d67f02094cda635cce477d0e42772b14cf8dbc96448a SHA512 4d4f871c508d375242df3baca03d8fb776f999229944d93822fee273ad3fb8fd2e9df9dc257f0f0977c2a68db8d9dcf50327c037256ea834c02ba83e0c8a549e WHIRLPOOL 7d5931d2aba97827ce421d02652d3550a4973c5c4698dc05bfee38ed8da2618b5fd07f0892ae5211845bbfa45ed567a8f7122b515de93c8b0628c357b0cd16bb
|
||||
DIST rust-1.14.0-x86_64-unknown-linux-gnu.tar.gz 122820395 SHA256 c71325cfea1b6f0bdc5189fa4c50ff96f828096ff3f7b5056367f9685d6a4d04 SHA512 6ec7155a2ac95718d1c28ffada0d365ca46cca7b1879b4533a662a4e63140fd2a70a9647a4b4d57e12d0d20dd46b7aba18365db0ed0cfd870b0a0394d4266b8c WHIRLPOOL f6c1c67806974cd39e68e2c111803a9ba7e858a93bfb8c8939747d253f119ae6667a21e3cba385015f27f9395fb2982d2a0c26f423b5d784fdc395e680da803b
|
||||
EBUILD rust-bin-1.14.0.ebuild 3058 SHA256 c6c0275e15af7c99204b84b6e279bf25620080eed8c3bcdb4385da1a68fc2925 SHA512 5d9494be999818f0f241874dfa9dd06100599d302447d598ef258cf93547e93b30193efcf2913a539b18dc85393c6c8bc0338588e8eddb19c417f807965d7991 WHIRLPOOL d95e8041b02afaef49206449412c7659955b1704a3ce90cbd4f4dfffc7abbfb0a230341480c341bbfcf00245f3405815cdd023b0c0ac9c8efec4691b05518dbe
|
||||
EBUILD rust-bin-1.14.0.ebuild 3242 SHA256 3f5dc201b8179b2c119e731b688ee21652716103ba70d224642e5a310227a936 SHA512 4e5ae9b60830826fc31c3212dceab1eac033981bf87302c3075c655cdf17ae6d5ed127bf3c7a8e21d2920aa472a8c2f40783ef2c6832c281439d21d7c798c2da WHIRLPOOL 504c5f3d1e3bf7dea93f0581584d4a94eab44011db241a683fb0915201633c39845e9be3bc085ced68d1f66611bcad90ec8bb363b60c528aa91c2d0c4c433287
|
||||
|
@ -11,7 +11,10 @@ MY_P="rust-${PV}"
|
||||
DESCRIPTION="Systems programming language from Mozilla"
|
||||
HOMEPAGE="http://www.rust-lang.org/"
|
||||
SRC_URI="amd64? ( http://static.rust-lang.org/dist/${MY_P}-x86_64-unknown-linux-gnu.tar.gz )
|
||||
arm? ( http://static.rust-lang.org/dist/${MY_P}-armv7-unknown-linux-gnueabihf.tar.gz )
|
||||
arm? (
|
||||
!neon? ( http://static.rust-lang.org/dist/${MY_P}-arm-unknown-linux-gnueabihf.tar.gz )
|
||||
neon? ( http://static.rust-lang.org/dist/${MY_P}-armv7-unknown-linux-gnueabihf.tar.gz )
|
||||
)
|
||||
mips? ( http://static.rust-lang.org/dist/${MY_P}-mips-unknown-linux-gnu.tar.gz )
|
||||
ppc64? ( http://static.rust-lang.org/dist/${MY_P}-powerpc64-unknown-linux-gnu.tar.gz )
|
||||
x86? ( http://static.rust-lang.org/dist/${MY_P}-i686-unknown-linux-gnu.tar.gz )"
|
||||
@ -19,7 +22,7 @@ SRC_URI="amd64? ( http://static.rust-lang.org/dist/${MY_P}-x86_64-unknown-linux-
|
||||
LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA"
|
||||
SLOT="stable"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="doc"
|
||||
IUSE="doc neon"
|
||||
|
||||
DEPEND=">=app-eselect/eselect-rust-0.3_pre20150425
|
||||
!dev-lang/rust:0
|
||||
@ -38,7 +41,10 @@ src_unpack() {
|
||||
|
||||
local postfix
|
||||
use amd64 && postfix=x86_64-unknown-linux-gnu
|
||||
use arm && postfix=armv7-unknown-linux-gnueabihf
|
||||
use arm && {
|
||||
! use neon && usepostfix=arm-unknown-linux-gnueabihf
|
||||
use neon && usepostfix=armv7-unknown-linux-gnueabihf
|
||||
}
|
||||
use mips && postfix=mips-unknown-linux-gnu
|
||||
use ppc64 && postfix=powerpc64-unknown-linux-gnu
|
||||
use x86 && postfix=i686-unknown-linux-gnu
|
||||
|
Loading…
Reference in New Issue
Block a user