Repository navigation
[Patch] Add Support Intel Parallel Studio XE 2018 - #62
GableTheSnail wants to merge 1 commit into
Conversation
|
Considering Eluna requires C++11, which has std::unordered_map and such in the standard itself, I feel the old compatibility code could be scrapped if it is a problem. |
|
@Rochet2 I would suggest to keep the compatibility code when dealing with commercial products. The Intel compiler is not cheap (a gross understatement) and, as with all commercial products, people tend to stash up the stuff they bought rather than dealing with extra expenditures. |
|
@evacomaroski - Fantastic work so far, if you are able to apply the fixes to playerbot as well that would be amazing as it is also part of the core code now. I am happy to assist where I can We are currently planning to phase out VS2010, 2012 and 2013 soon - in fact that is what the new branch is for, but in the meantime attempting to keep compatibility with these is preferable. |
|
@billy1arm Happy to contribute! I preferred not to touch the playerbots code on this pull request because they default to off when configuring the build. It will take some time to run through playerbots as they may require some rework but I will try to do that as well. Happy New Year! 🎆 |
|
@evacomaroski - I am planning on merging this in the next few days |
|
All changes are now part of master banch. Thank you! |
* Added some new Readme Badges * Fix Eluna logging by defining ENABLE_ELUNA (#179) The definition should be included in all projects or every project that uses it * Fix Docker build CMake version (#180) * Update DockerFile-mangosd (#190) Making sure CMake is updated * Add maximum check for OpenSSL versions greater then supported version. Signed-off-by: billy1arm <[email protected]> * [Realmd] Add maximum check for OpenSSL versions greater then supported version. Signed-off-by: billy1arm <[email protected]> * [Core/vmap] Standardise functions and codestyle (#181) * Removed deprecated docker build * [Core] Several codestyle/standardization fixes * [vmap] Remove unused functions * [core/vmap] Standardise functions and codestyle * [Docker] Cmake double install fix Co-authored-by: PargeLenis <[email protected]> * [Submodules] Update submodules * Happy New Year 2023 from everyone at getMangos.eu 🎉 Signed-off-by: billy1arm <[email protected]> * [Submodules] Update Dep & Eluna modules * Fix some compile warnings * Improve timezone handling (#62) * [Core/PacketIO] Use ByteBuffer from UpdateData instead of copying to it after * [DEP] Updated zlib to 1.2.13. Thanks @Muehe for pointing * Fix stylistic changes * Updated Easybuild to 2.3.0 and fixed Pre-Req file download * Minor Styling changes * Fix possible guild exploit Co-authored-by: robinsch <[email protected]> * Remove line missed in previous commit * [SD3] Update submodule * Prevent cheating in Player::BuyItemFromVendor * Remove trailing spaces * Some project sync from One * Standardize Account Handling (#182) Co-authored-by: PargeLenis <[email protected]> * Added support to find newer versions of MariaDB * Rename CreatureFlagsExtra Enum values to match other cores * [Easybuild] Easybuild updated to V3.0 * Fix Active Creature Flag logic * refactor emails and remove item_text in line with other cores * Big ScriptMgr sync * Fix Linux build (#193) Co-authored-by: PargeLenis <[email protected]> --------- Signed-off-by: billy1arm <[email protected]> Co-authored-by: Rochet2 <[email protected]> Co-authored-by: PargeLenis <[email protected]> Co-authored-by: Fly Man <[email protected]> Co-authored-by: meltie2013 <[email protected]> Co-authored-by: PargeLenis <[email protected]> Co-authored-by: Meltie2013 <[email protected]> Co-authored-by: Lordron <[email protected]> Co-authored-by: robinsch <[email protected]> Co-authored-by: LunaticInAHat <[email protected]>
Hello!
The following changes add support for compiling mangos zero with Intel Parallel Studio XE (2018). Roughly, the changes include adding some extra includes and creating a branch for
COMPILER_INTELthat checks for major version 18 (version 18.0.1 was used) and beyond.Concerning, the compiler branching, I have decided to branch instead of replacing the existing code for the Intel Compiler because it is not clear whether this change applies universally to all compilers or not - however, I would like to note that
std::hash_mapandstd::hash_setare not ubiquitous and that the standard would imply thatstd::unordered_mapandstd::unordered_setshould be used instead. If I understand the C++ implementation correctly, an unordered map/set is equivalent to a hash map/set: if needed, and someone has the capability to verify, the entire Intel branching could be replaced later to make the compilation succeed for all Intel compilers.Regarding the results, the following commands, executed in the server source directory:
yielded a successful compilation, including the compilation of the map extraction tools. Unfortunately, to get the playerbots working as well, further and, apparently, more intrusive changes are needed. It may require some rewrites and I would gladly yield that task to the creator and would not like to step on anyone's toes - playerbots are not used on our shard. In case there is interest, I could gladly create a separate pull request and attempt to make the playbots code compile under the Intel compiler as well.
The patch requires an additional modification to be made to ScriptDev3 (another include has to be added), for which a pull request has already been made: mangos/ScriptDev3#71
If useful, please apply.
Regards,
Eva