Conversation
|
Uh, I didn't even know option de-duplication was a thing. No problem for the broken previous PR, it happens. I'm gonna assume that this one has been thoroughly tested and merge it. I plan to release a new version soon in order to release whatever small changes and fixes were added over a year. Do you think you might have other tweaks to propose, or is everything finally working for your use case? I've you're not done yet, I can wait for some time before releasing the new version. |
|
To be fair, CMake gives the following warning, so I should have noticed that something was off: |
I don't have any other tweak to propose at the moment, I'm currently only using the |
|
Ok, thanks for taking the time anyway, it's appreciated 🙂 To be frank the library is not really the state of the art anymore when it comes to faster sorting algorithms. There's been a lot of research and faster sorting algorithms, even single-threaded ones, keep being released every other week. I'm thinking for example of in-place super scalar sample sort, which is old enough and quite fast. ska_sort itself has a more recent version somewhere (in a branch of boostorg/sort I think). The algorithms that perform well on almost-sorted data in cpp-sort are "fun" and really interesting from a theoretical point of view, but most of them are slow in most situations, which makes them poor generic algorithms. I do hope that I will have another period of strong motivation for the project in the future, because I'm still not done exploring and improving everything I want to explore and improve in the area 😄 |
Fixes #227
Hi @Morwenn , I just tested this and when not using the
=in-Xcompiler="/permissive-", the/permissive-does not get wrapped into-Xcompiler="..."with all the other compile options. This is probably due to CMake's option de-duplication. In any case, this is simple to fix and it works in my environment (MSVC+CUDA). Apologies for previously sending in a bad PR.For any
cpp-sortuser reading this, I also want to add that theCOMPILE_LANGUAGEgenerator expression applies per source file. In other words, for a given CMake project, different compilers can be used on different source files. To make sure that theCOMPILE_LANGUAGEworks correctly, either:LANGUAGEsource file property explicitly, for example