-
-
Notifications
You must be signed in to change notification settings - Fork 16.7k
freecad: add ifc support #330190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
freecad: add ifc support #330190
Conversation
Just a heads up |
Thanks, we shouldn't step too much into each other shoes hopefully ;-) |
bad8c88
to
2014cd1
Compare
2014cd1
to
5d8f6e6
Compare
4259d7b
to
09d03a4
Compare
|
09d03a4
to
c48fb6a
Compare
This is now ready. I took the opportunity to document the different options so that they appear in https://search.nixos.org/ (I hope it's the correct way, if it is, I think all packages should just do that). |
c48fb6a
to
d1626fb
Compare
@AndersonTorres I added a README. For the option, I see no alternative right now :-) |
@gebner @AndersonTorres what you guys think about this now? |
Rebase. |
d1626fb
to
79d0fea
Compare
|
Done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Maybe add passthru = {
tests = {
withIfcSupport = freecad.override { ifcSupport = true; };
};
}; |
The point is just to compile it once with ifc support during the test phase? |
Exactly |
aa7161c
to
621ff02
Compare
|
Updated @GaetanLepage @AndersonTorres |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look good. Can you please squash everything in a single commit though ?
621ff02
to
64477a8
Compare
oups, forgot to squash my fixups indeed. Done now. |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All good, thanks @autra !
Thanks for the reviews @GaetanLepage @AndersonTorres :-) |
Why was ifc support default-disabled? According to #370121 this is functionality not just required by obscure plugins but by core functionality. This should probably be default-enabled. |
closes NixOS#370121 follow-up to NixOS#330190 The BIM workspace depends on ifc, there is little reason why it should be conditional to a flag that causes a from-source rebuild. It should just be always enabled.
I propose making it unconditional: #422675 |
closes NixOS#370121 follow-up to NixOS#330190 The BIM workspace depends on ifc, there is little reason why it should be conditional to a flag that causes a from-source rebuild. It should just be always enabled.
Thank you! |
closes NixOS#370121 follow-up to NixOS#330190 The BIM workspace depends on ifc, there is little reason why it should be conditional to a flag that causes a from-source rebuild. It should just be always enabled.
@LordGrimmauld last time I checked upstream, it was optional (but indeed required as soon as you want to use BIM features), and I kept it optional just for the sake of keeping things as light as possible. That being said, I'm only using freecad for opening ifc files so I'm all for enable it by default, thanks for having done that! |
closes NixOS#370121 follow-up to NixOS#330190 The BIM workspace depends on ifc, there is little reason why it should be conditional to a flag that causes a from-source rebuild. It should just be always enabled. (cherry picked from commit f772e38)
closes NixOS#370121 follow-up to NixOS#330190 The BIM workspace depends on ifc, there is little reason why it should be conditional to a flag that causes a from-source rebuild. It should just be always enabled. (cherry picked from commit f772e38)
closes NixOS#370121 follow-up to NixOS#330190 The BIM workspace depends on ifc, there is little reason why it should be conditional to a flag that causes a from-source rebuild. It should just be always enabled. (cherry picked from commit f772e38)
closes NixOS#370121 follow-up to NixOS#330190 The BIM workspace depends on ifc, there is little reason why it should be conditional to a flag that causes a from-source rebuild. It should just be always enabled. (cherry picked from commit f772e38)
closes NixOS#370121 follow-up to NixOS#330190 The BIM workspace depends on ifc, there is little reason why it should be conditional to a flag that causes a from-source rebuild. It should just be always enabled. (cherry picked from commit f772e38)
Description of changes
This PR adds optional ifc support with ifcopenshell.
It depends on #312381 (fix ifcopenshell build)
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.