Philip Petev Posted April 7, 2017 Share Posted April 7, 2017 Alright guys, I have a new version for testing. It has the following changes: 1. The script now auto-detects the Xcode version and sets the proper toolchain profile for it: - for Xcode 8 and later - XCODE8 - for Xcode, earlier than 8 - XCODE5 LTO will be disabled for Xcode 7.2.x and earlier and enabled for Xcode 7.3.x and later, as usual. The two variables, XCODE and GNU (lines 34 and 35) are still present, but should be used only for overriding the auto-detected values (ex. if you want to use the XCODE5 profile with Xcode 8.x or GCC49 instead of the default profile GCC53) Line 36 contains the setting which build tool to be used - Xcode or GCC. Use only XCODE or GNU as values !!! Any value, different from those two, will cause the script to exit with an error message ! For Linux, that setting is being omitted, because GNU is used by default. 2. The script now can compile Clover under Linux Mint 18.x (which is basically rebranded Ubuntu 16.04.x) The test version is HERE as usual. NOTE: before building Clover with this new version (especially if you have installed Xcode 8 and later), forced EDK2 update ( the update Clover + force edk2 update (no building) option) is a must, otherwise you may get compilation errors. 5 Link to comment Share on other sites More sharing options...
pico joe Posted April 7, 2017 Share Posted April 7, 2017 seem okay here .. thanks ================================================================================Build_Clover script v4.4.0 Wow, are you coming from the future? <--------------------------------------------------================================================================================By Micky1979 based on Slice, Zenith432, STLVNUB, JrCs, cecekpawon, Needy,cvad, Rehabman, philip_petev, ErmaCSupported OSes: macOS X, Ubuntu (16.04/16.10), Debian Jessie (8.4/8.5/8.6/8.7) <--------------------------------------------------CLOVER Remote revision: 4055 Local revision: 4055EDK2 Remote revision: 24341 Local revision: 24132The current local EDK2 revision is the suggested one (24132). Build info. =========== Package name: Clover_v2.4k_r4055.pkg MD5: 0349a2b1a0111ed7b02fe7cd819fb808 Version: v2.4k Stage: v2.4k Date/Time: 2017-04-08 06:26:05 Built by: pico Copyright 2012-2017 adding: Clover_v2.4k_r4055.pkg (deflated 1%) adding: Clover_v2.4k_r4055.pkg.md5 (stored 0%)total 48320drwxr-xr-x 9 pico staff 306 Apr 8 06:27 .drwxr-xr-x 15 pico staff 510 Apr 8 06:27 ..-rw-r--r--@ 1 pico staff 12210398 Apr 8 06:27 Clover_v2.4k_r4055.pkg-rw-r--r-- 1 pico staff 68 Apr 8 06:27 Clover_v2.4k_r4055.pkg.md5-rw-r--r-- 1 pico staff 12137075 Apr 8 06:27 Clover_v2.4k_r4055.zipdrwxr-xr-x 3 pico staff 102 Apr 8 06:27 Resourcesdrwxr-xr-x 7 pico staff 238 Apr 8 06:27 builddrwxr-xr-x 3 pico staff 102 Apr 8 06:27 packagedrwxr-xr-x 7 pico staff 238 Apr 8 06:27 utils================================================================================build started at:Sat Apr 8 06:24:32 WIB 2017finished atSat Apr 8 06:27:37 WIB 2017Done! 1 Link to comment Share on other sites More sharing options...
MaLd0n Posted April 7, 2017 Share Posted April 7, 2017 Fine! Thanks! Link to comment Share on other sites More sharing options...
Mork vom Ork Posted April 8, 2017 Share Posted April 8, 2017 @ Philip Petev: script working flawlessly here, too. Successfull built of CLOVER rev. 4056. Nice work again. Thx. 1 Link to comment Share on other sites More sharing options...
Slice Posted April 8, 2017 Share Posted April 8, 2017 EDK2 Remote revision: 24341 Local revision: 24132 The current local EDK2 revision is the suggested one (24132). I successfully compiled with 24341 3 Link to comment Share on other sites More sharing options...
Philip Petev Posted April 8, 2017 Share Posted April 8, 2017 I successfully compiled with 24341 Same here. Clover r4056, edk2 r24341, Xcode 8.2.1, macOS 10.11.6 and XCODE8 profile. So, we can use that in the script, right? Or... 1 Link to comment Share on other sites More sharing options...
Slice Posted April 9, 2017 Share Posted April 9, 2017 Same here. Clover r4056, edk2 r24341, Xcode 8.2.1, macOS 10.11.6 and XCODE8 profile. So, we can use that in the script, right? Or... At your will. I am not a user, I am developer. If something goes wrong I can correct. What about users? 3 Link to comment Share on other sites More sharing options...
cecekpawon Posted April 9, 2017 Share Posted April 9, 2017 '-Pro' version for advanced user(s)? 1 Link to comment Share on other sites More sharing options...
Fljagd Posted April 9, 2017 Share Posted April 9, 2017 At your will. I am not a user, I am developer. If something goes wrong I can correct. What about users? All ok for me Link to comment Share on other sites More sharing options...
artur_pt Posted April 9, 2017 Share Posted April 9, 2017 hello for me with Clover r4056, edk2 r24341, Xcode 8.3, macOS 10.12.5 this build compile and boot the system .. but Clover GUI is not good ..icons are there but several colors in background.. with old script all good thanks 1 Link to comment Share on other sites More sharing options...
Philip Petev Posted April 9, 2017 Share Posted April 9, 2017 this build compile and boot the system .. but Clover GUI is not good ..icons are there but several colors in background.. with old script all good thanks Are you sure it's not the theme? Tried the same version with several themes and there was no difference with all of them, compared to the same Clover build, compiled with edk2 r24132. Link to comment Share on other sites More sharing options...
artur_pt Posted April 9, 2017 Share Posted April 9, 2017 hello nah .. i don't use any theme .. only the built in clover = embedded good lord .. that don't trouble me .. clover theme thanks 1 Link to comment Share on other sites More sharing options...
Philip Petev Posted April 10, 2017 Share Posted April 10, 2017 So, it's the embedded... Just tested it, looks broken to me too, the background doesn't seems right. Sent from my MI 5s using Tapatalk Link to comment Share on other sites More sharing options...
Philip Petev Posted April 11, 2017 Share Posted April 11, 2017 hello nah .. i don't use any theme .. only the built in clover = embedded good lord .. that don't trouble me .. clover theme thanks Ok, found the cause for that: it's that new XCODE8 compiler profile by @Zenith432. There is something with it that breaks the embedded theme. Tried the same revisions (Clover r4056 and edk2 r24341), compiled with GCC (GCC53) and Xcode (XCODE5), and both builds don't seem to have such problem. Until that thing is fixed, you can workaround the problem by adding XCODE5 to line 34 like this: XCODE="XCODE5" to override the Xcode auto-detection part. Don't forget to use the update Clover + force edk2 update (no building) option before you build Clover. 3 Link to comment Share on other sites More sharing options...
artur_pt Posted April 11, 2017 Share Posted April 11, 2017 hello Philip i will try that .. and post the results if i'm using the old script .. no problem at all thanks Link to comment Share on other sites More sharing options...
Badruzeus Posted April 14, 2017 Share Posted April 14, 2017 Just a report; Clover_v2.4k_r4061 build succeeded using Build_Clover.command v4.4.0, with EDK2 r24399 under 10.11.6 with XCode 8.2 Build 8C38. Thanks. Build_Clover.command_Logs_04-14-17.txt Link to comment Share on other sites More sharing options...
Philip Petev Posted April 17, 2017 Share Posted April 17, 2017 Version 4.4.0 is up. Please, check the notes about this version one more time before you use it. Link to comment Share on other sites More sharing options...
droples Posted April 17, 2017 Share Posted April 17, 2017 BuildClover4.4.0_Clover4061,EDK2_24132. The compilation is successful. BuildClover4.4.0_Log.txt.zip 1 Link to comment Share on other sites More sharing options...
Philip Petev Posted April 22, 2017 Share Posted April 22, 2017 Hm... that XCODE8 profile again... Ok, try this and check if it will work. Link to comment Share on other sites More sharing options...
cecekpawon Posted April 22, 2017 Share Posted April 22, 2017 Regularly update your OpenSSL lib (read how-to for more detail). Adding "-D NO_MSABI_VA_FUNCS" might help with XCODE8. 1 Link to comment Share on other sites More sharing options...
artur_pt Posted April 22, 2017 Share Posted April 22, 2017 Hm... that XCODE8 profile again... Ok, try this and check if it will work. hello Phillip that solve my issues with last script thanks 1 Link to comment Share on other sites More sharing options...
bluemaP1E Posted May 13, 2017 Share Posted May 13, 2017 Clover_v2.4k_r4070 build succeeded using Build_Clover.command v4.4.2, with EDK2 r24552 under 10.12.4 with XCode 8.3.2 Build 8E2002,thanks. But I don`t need CloverThemeManager CloverPrefpane,how to modify it? I try to open Clover_v2.4k_r4070.pkg with betterzip and del CloverThemeManager.pkg CloverPrefpane.pkg, And then del all relevant fields in Distribution,it seems to work,but i want to know if there is a better way to exclude it. Link to comment Share on other sites More sharing options...
Philip Petev Posted May 13, 2017 Share Posted May 13, 2017 I wouldn't try such things, if I were you, you'll just damage the package. If you don't need those two, use the advanced choice selection and don't install them. As you can see, the theme manager is not being installed by default, so just uncheck the other one. 1 Link to comment Share on other sites More sharing options...
apianti Posted May 13, 2017 Share Posted May 13, 2017 Regularly update your OpenSSL lib (read how-to for more detail). Adding "-D NO_MSABI_VA_FUNCS" might help with XCODE8. OpenSSL is actually included in clover, is version 1.0.1e, and modified, also, doesn't use CryptoPkg so those instructions don't help. I updated the source to not use MS ABI intrinsic variable argument functions, so this shouldn't be an issue anymore (but this only applies to GCC, there was no xcode compiler options, I added them too). However, it probably should to be updated to at least 1.1.0e... I don't have the time to do that, so anyone interested, please do, share, I'll review and commit. 1 Link to comment Share on other sites More sharing options...
bluemaP1E Posted May 13, 2017 Share Posted May 13, 2017 I wouldn't try such things, if I were you, you'll just damage the package. If you don't need those two, use the advanced choice selection and don't install them. QQ20170513-191828.pngQQ20170513-191858.png As you can see, the theme manager is not being installed by default, so just uncheck the other one. Thanks for your advice, I`m sorry I did`t say it clearly.Due to attachment limit,I want to reduce the size of the clover package. Is there a better way to exclude compiling or packing them? Link to comment Share on other sites More sharing options...
Recommended Posts