remove android cross build leftover
Android cross builds are no longer done; I missed removing this before. This commit was sponsored by Brock Spratlen on Patreon.
This commit is contained in:
parent
5d7b13b6af
commit
0dc26cd6f1
1 changed files with 1 additions and 15 deletions
|
@ -83,20 +83,6 @@ run :: [TestCase] -> IO ()
|
||||||
run ts = do
|
run ts = do
|
||||||
setup
|
setup
|
||||||
config <- runTests ts
|
config <- runTests ts
|
||||||
v <- getEnv "CROSS_COMPILE"
|
writeSysConfig config
|
||||||
case v of
|
|
||||||
Just "Android" -> writeSysConfig $ androidConfig config
|
|
||||||
_ -> writeSysConfig config
|
|
||||||
writeVersion =<< getVersion
|
writeVersion =<< getVersion
|
||||||
cleanup
|
cleanup
|
||||||
|
|
||||||
{- Hard codes some settings to cross-compile for Android. -}
|
|
||||||
androidConfig :: [Config] -> [Config]
|
|
||||||
androidConfig c = overrides ++ filter (not . overridden) c
|
|
||||||
where
|
|
||||||
overrides =
|
|
||||||
[ Config "cp_reflink_auto" $ BoolConfig False
|
|
||||||
, Config "curl" $ BoolConfig False
|
|
||||||
]
|
|
||||||
overridden (Config k _) = k `elem` overridekeys
|
|
||||||
overridekeys = map (\(Config k _) -> k) overrides
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue