Conversation
Notices
-
Embed this notice
Sexy Moon (moon@shitposter.club)'s status on Friday, 18-Aug-2023 08:45:56 JST Sexy Moon I told CMake to compile for SSE3 and it's still giving a bad opcode error. Maybe I need to do SSE2. Or maybe it's not taking the parameter right -
Embed this notice
Sexy Moon (moon@shitposter.club)'s status on Friday, 18-Aug-2023 08:53:32 JST Sexy Moon @TURBORETARD9000 yes -
Embed this notice
"; DROP TABLE Users; (turboretard9000@bae.st)'s status on Friday, 18-Aug-2023 08:53:33 JST "; DROP TABLE Users; @Moon wait is this templeOS? -
Embed this notice
Sexy Moon (moon@shitposter.club)'s status on Friday, 18-Aug-2023 08:53:59 JST Sexy Moon @thendrix someone else's project, pretty sure it's clang -
Embed this notice
Terry Hendrix II 🏹 (thendrix@social.hendrixgames.com)'s status on Friday, 18-Aug-2023 08:54:00 JST Terry Hendrix II 🏹 I can’t believe people still use cmake. Are you using clang or GCC toolchain?
-
Embed this notice
Sexy Moon (moon@shitposter.club)'s status on Friday, 18-Aug-2023 08:59:25 JST Sexy Moon @icedquinn @thendrix I am trying passing -mno-sse4.2 -
Embed this notice
iced depresso (icedquinn@blob.cat)'s status on Friday, 18-Aug-2023 08:59:26 JST iced depresso @thendrix @Moon isn't that controlled by the -march flags to the compiler -
Embed this notice
Sexy Moon (moon@shitposter.club)'s status on Friday, 18-Aug-2023 09:04:51 JST Sexy Moon @thendrix it fucking ignored my CFLAGS env, I fucking hate C so much -
Embed this notice
Terry Hendrix II 🏹 (thendrix@social.hendrixgames.com)'s status on Friday, 18-Aug-2023 09:04:52 JST Terry Hendrix II 🏹 I would think you just adjust c or cxx, and quick search:
https://stackoverflow.com/questions/50935181/how-should-sse-flags-be-added-with-modern-cmake
-
Embed this notice
Terry Hendrix II 🏹 (thendrix@social.hendrixgames.com)'s status on Friday, 18-Aug-2023 09:04:52 JST Terry Hendrix II 🏹 Yeah, just add options in c and cxx flags directly. Also note you need to flip vectorization on likely.
-
Embed this notice
Sexy Moon (moon@shitposter.club)'s status on Friday, 18-Aug-2023 09:10:20 JST Sexy Moon @thendrix this thing is using something called ninja -
Embed this notice
Terry Hendrix II 🏹 (thendrix@social.hendrixgames.com)'s status on Friday, 18-Aug-2023 09:10:21 JST Terry Hendrix II 🏹 You have to use -D syntax for cmake iirc.
Also use godbolt to verify flags like… ah… This should still work – but you can use per func attr to markup for SSE level – eg:
-xc -Wall -O3 -march=Skylake
I would look up exact arch and flags you want for specific version of clang.
-
Embed this notice
Sexy Moon (moon@shitposter.club)'s status on Friday, 18-Aug-2023 09:12:36 JST Sexy Moon @thendrix it may be a library its linking against that has the ssee4 instructions in it, I may just be out of luck unlless I want to reccompile every single part manually -
Embed this notice
Terry Hendrix II 🏹 (thendrix@social.hendrixgames.com)'s status on Friday, 18-Aug-2023 09:12:38 JST Terry Hendrix II 🏹 Oh ninja is just a frontend for the compiler. It helps with build optimization.
I use just plain -msse3 in my code iirc as sse2 is default for x86-64.
-
Embed this notice
Sexy Moon (moon@shitposter.club)'s status on Friday, 18-Aug-2023 09:24:37 JST Sexy Moon @thendrix I used sed to add the flags to every fucking C command in the files and that got rid of most of them, there's still some in there though so I have to go through every subproject I guess. -
Embed this notice
Terry Hendrix II 🏹 (thendrix@social.hendrixgames.com)'s status on Friday, 18-Aug-2023 09:24:38 JST Terry Hendrix II 🏹 Yeap, and better if you have a chain of cmake files you might need to touch.
-
Embed this notice
Sexy Moon (moon@shitposter.club)'s status on Friday, 18-Aug-2023 09:32:06 JST Sexy Moon @thendrix I modified everything and changed the arch away from amd64 v2 and it's still doing it, giving up. -
Embed this notice
Terry Hendrix II 🏹 (thendrix@social.hendrixgames.com)'s status on Friday, 18-Aug-2023 09:32:07 JST Terry Hendrix II 🏹 Yeah. That’s why I contributed the PlayStation support to genie. Much better for structuring larger projects and reusable make artifacts. Cmake is a flawed design.
-
Embed this notice
Sexy Moon (moon@shitposter.club)'s status on Friday, 18-Aug-2023 17:28:24 JST Sexy Moon @icst @thendrix I figured it out and changed it but one of the dependencies still is doing it so I'm looking throgh all the makefiles later. -
Embed this notice
ICScaryThings (icst@clubcyberia.co)'s status on Friday, 18-Aug-2023 17:28:25 JST ICScaryThings @Moon @thendrix He has it hardcoded in at least 2 places:
https://gitgud.io/CrunkLord420/cyberchud/-/blob/master/CMakeLists.txt#L223
https://gitgud.io/CrunkLord420/cyberchud/-/blob/master/CMakeLists.txt#L418
grep and sed-i are your friends in times like these -
Embed this notice
condret :verified: :ancom: (condret@shitposter.club)'s status on Friday, 18-Aug-2023 17:28:32 JST condret :verified: :ancom: @Moon cmake is garbage In conversation permalink Sexy Moon likes this.
-
Embed this notice