Replies: 4 comments 4 replies
-
|
Hey @Noir01, Thanks for reaching out! We definitely have expertise on building OpenCilk from source, and we would be happy to help. Thanks for sharing the log and Nix derivation file. We'll take a look and get back to you soon. |
Beta Was this translation helpful? Give feedback.
-
|
I see an error "Please use architecture with 4 or 8 byte pointers." It looks like cmake is confused about your environment. This can be caused by the compiler crashing or by cmake files that don't understand your OS. The first step should be to upgrade your OpenCilk from version 2.1 to 3.0. We released version 3.0 in May. https://github.com/OpenCilk/opencilk-project/releases If you're stuck on 2.1 for some reason let us know. We can try to set up a NixOS VM to test. |
Beta Was this translation helpful? Give feedback.
-
|
I tried a trivial switch from v2.1 to v3.0 8e2fd46, but it resulted in a very similar crash. I also noticed the error you pointed out, but I don't think that is the root issue. Rather, I believe the issue arises when building I think for some reason when |
Beta Was this translation helpful? Give feedback.
-
|
I tried some things over the past week to try and get it to build but to no avail. First, I tried inserting the environment variables mentioned in https://wiki.nixos.org/wiki/LLVM, but that did not seem to fix stuff. Then I started looking into how wrappers and how Nixpkgs deal with official LLVM, and found this https://github.com/NixOS/nixpkgs/blob/25.05/pkgs/build-support/cc-wrapper/default.nix. It seemed exactly like what we need, and so I tried replicating how Nixpkgs does it, but to no avail and with an identical error as far as I understand. Here is the relevant commit. Right now, I'm wondering if the build process for the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi OpenCilk community,
I've recently been working on Gibbon which uses Cilk and so is confined to GCC7. As part of a small effort to modernize its dependencies, I've been looking into OpenCilk which appears to be a drop-in replacement. However, it not yet being packaged for Nix is hindering these efforts, and so I've been working on packaging it myself. I've run into some roadblocks however, and I'd like to ask if anyone familiar with building OpenCilk from source would want to take a look and maybe offer some insight.
The Nix derivation file is here opencilk.nix along with its crashlog.txt. I'd really appreciate any help regarding this!
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions