Newest at the top
2024-06-16 05:55:36 +0200 | <koala_man> | ideally I'd cross compile but ghc is not great at that |
2024-06-16 05:54:17 +0200 | <koala_man> | I'm trying to do a build in docker, but it's running under a riscv emulator so I want to build the dependencies beforehand to reduce the build time from 5 to 2 hours |
2024-06-16 05:52:36 +0200 | <geekosaur> | lots of things in cabal.project can't be put in the global config |
2024-06-16 05:52:20 +0200 | <geekosaur> | right, that's only valid for things that can go in .cabal/config |
2024-06-16 05:52:00 +0200 | <geekosaur> | stack does, but disrecommends using it (in particular, if you have a stack.yaml it will _not_ inherit from the default config!)] |
2024-06-16 05:51:29 +0200 | <geekosaur> | cabal doesn't have a way to do it system-wide / a "default project" |
2024-06-16 05:51:24 +0200 | <koala_man> | oh. I misinterpreted https://cabal.readthedocs.io/en/3.4/cabal-project.html which lists the order of files as 1. ~/cabal/config 2. cabal.project |
2024-06-16 05:50:55 +0200 | <geekosaur> | it goes in cabal.project.local |
2024-06-16 05:50:44 +0200 | <geekosaur> | no, it doesn't go in .cabal/config |
2024-06-16 05:50:15 +0200 | <koala_man> | I tried googling things and put `package hashable\n flags: -arch-native` in my ~/.cabal/config, but it says "Unrecognized stanza" |
2024-06-16 05:42:09 +0200 | aforemny | (~aforemny@i59F516F9.versanet.de) |
2024-06-16 05:41:39 +0200 | aforemny_ | (~aforemny@2001:9e8:6ceb:e600:2c9:e941:ad5c:4927) (Ping timeout: 268 seconds) |
2024-06-16 05:41:37 +0200 | <geekosaur> | (but not on flags because they're a property of cabal files, not projects) |
2024-06-16 05:41:13 +0200 | <geekosaur> | and re what probie said, you can conditionalize on cpu or platform in cabal.project{,.local} if needed |
2024-06-16 05:40:01 +0200 | <geekosaur> | note that flags in different packages aren't guaranteed to mean the same thing, so you probably want `package hashable` instead of `package *` |
2024-06-16 05:38:47 +0200 | <probie> | The mistake was having a little consistency. The `-m` flags are the "machine-dependent" options, so I enjoy the implication that it's a bug not to be able to use them in machine-independent way |
2024-06-16 05:38:09 +0200 | <geekosaur> | (although cabal.project.local is preferred for that) |
2024-06-16 05:37:54 +0200 | <geekosaur> | you need a cabal.project: https://paste.tomsmeding.com/LRlWtW77 |
2024-06-16 05:37:22 +0200 | segfaultfizzbuzz | (~segfaultf@23-93-189-95.fiber.dynamic.sonic.net) |
2024-06-16 05:34:46 +0200 | <koala_man> | how do I set -f -arch-native for all packages (at least hashable)? I hoped `cabal install ... -f -arch-native` would do that when hashable is a dependency, but I guess not |
2024-06-16 05:34:13 +0200 | segfaultfizzbuzz | (~segfaultf@23-93-189-95.fiber.dynamic.sonic.net) (Ping timeout: 255 seconds) |
2024-06-16 05:28:33 +0200 | <geekosaur> | go go gadget consistency |
2024-06-16 05:27:19 +0200 | <probie> | It only supports -march=native on Linux, and only for arm, x86, mips and s390/zSeries (IBM's mainframe architecture). Not all architectures even have a `-march` option (e.g. for SPARC, you want `-mcpu=native`) |
2024-06-16 05:19:42 +0200 | rdcdr | (~rdcdr@user/rdcdr) |
2024-06-16 05:18:27 +0200 | rdcdr_ | (~rdcdr@97-113-223-47.tukw.qwest.net) (Quit: ZNC 1.8.2+deb3.1 - https://znc.in) |
2024-06-16 05:17:10 +0200 | <koala_man> | oh fun... riscv gcc does not recognize -march=native |
2024-06-16 05:07:22 +0200 | troydm | (~troydm@user/troydm) |
2024-06-16 05:02:55 +0200 | td_ | (~td@i53870926.versanet.de) |
2024-06-16 05:01:05 +0200 | td_ | (~td@i53870937.versanet.de) (Ping timeout: 252 seconds) |
2024-06-16 04:59:28 +0200 | madhavanmi | (~madhavanm@2409:40f4:2017:93b5:8000::) (Client Quit) |
2024-06-16 04:59:22 +0200 | madhavanmi | (~madhavanm@2409:40f4:2017:93b5:8000::) |
2024-06-16 04:57:18 +0200 | phma | (phma@2001:5b0:2172:eb58:a102:8e01:4f76:63c6) |
2024-06-16 04:57:14 +0200 | philopsos1 | (~caecilius@user/philopsos) |
2024-06-16 04:54:47 +0200 | L29Ah | (~L29Ah@wikipedia/L29Ah) (Ping timeout: 268 seconds) |
2024-06-16 04:53:43 +0200 | solaire | (~solaire@syn-067-052-091-058.biz.spectrum.com) (Ping timeout: 255 seconds) |
2024-06-16 04:52:27 +0200 | waleee | (~waleee@h-176-10-144-38.NA.cust.bahnhof.se) (Ping timeout: 264 seconds) |
2024-06-16 04:49:09 +0200 | solaire | (~solaire@syn-067-052-091-058.biz.spectrum.com) |
2024-06-16 04:48:51 +0200 | segfaultfizzbuzz | (~segfaultf@23-93-189-95.fiber.dynamic.sonic.net) |
2024-06-16 04:48:45 +0200 | solaire | (~solaire@syn-067-052-091-058.biz.spectrum.com) (Ping timeout: 255 seconds) |
2024-06-16 04:48:15 +0200 | raehik | (~raehik@rdng-25-b2-v4wan-169990-cust1344.vm39.cable.virginm.net) (Ping timeout: 264 seconds) |
2024-06-16 04:46:15 +0200 | phma | (~phma@host-67-44-208-57.hnremote.net) (Read error: Connection reset by peer) |
2024-06-16 04:42:52 +0200 | raehik | (~raehik@rdng-25-b2-v4wan-169990-cust1344.vm39.cable.virginm.net) |
2024-06-16 04:36:23 +0200 | litharge | (litharge@libera/bot/litharge) |
2024-06-16 04:36:11 +0200 | litharge | (litharge@libera/bot/litharge) (Remote host closed the connection) |
2024-06-16 04:31:44 +0200 | madhavanmi | (~madhavanm@2a09:bac5:3b14:18be::277:34) (Client Quit) |
2024-06-16 04:31:40 +0200 | madhavanmi | (~madhavanm@2a09:bac5:3b14:18be::277:34) |
2024-06-16 04:31:26 +0200 | madhavanmi | (~madhavanm@2409:40f4:3c:714e:8000::) (Read error: Connection reset by peer) |
2024-06-16 04:30:21 +0200 | madhavanmi | (~madhavanm@2409:40f4:3c:714e:8000::) |
2024-06-16 04:25:45 +0200 | gorignak | (~gorignak@user/gorignak) |
2024-06-16 04:15:05 +0200 | solaire | (~solaire@syn-067-052-091-058.biz.spectrum.com) |