Skip to content

*nix build instructions tweaks#120

Merged
aothms merged 2 commits into
IfcOpenShell:masterfrom
Tridify:nix_build_instructions
Aug 22, 2016
Merged

*nix build instructions tweaks#120
aothms merged 2 commits into
IfcOpenShell:masterfrom
Tridify:nix_build_instructions

Conversation

@Stinkfist0

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread README.md
$ mkdir build && cd build
$ cmake ..
$ make
$ make -j

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a good suggestion, wouldn't it spawn too many processes when using -j without an integer? I have no experience with this.

@Stinkfist0 Stinkfist0 Aug 20, 2016

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default behavior would appear to be number of cores + 1, and by being the default behavior, I'd assume it should not be a "bad" thing at least, but naturally consumes the CPU resources quite a bit for a faster completion.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm. interesting. That's exactly what the nix build script tries to determine the hard way.
https://github.com/IfcOpenShell/IfcOpenShell/blob/master/nix/build-all.sh#L64

@aothms aothms merged commit e064098 into IfcOpenShell:master Aug 22, 2016
@Stinkfist0 Stinkfist0 deleted the nix_build_instructions branch September 7, 2016 09:16
Andrej730 added a commit that referenced this pull request Jun 30, 2023
To avoid validation errors on creating wall mounted railings

    #143=IfcShapeRepresentation(#15,'Body','SweptSolid',(#116,#126,#129,#139,#142))
Rule IfcShapeRepresentation.CorrectItemsForType:
    IfcShapeRepresentationTypes(self.RepresentationType, self.Items)
Violated by:
    False
     +  where False = IfcShapeRepresentationTypes('SweptSolid', (#116=IfcSweptDiskSolid(#115,10.,$,$,$), #126=IfcExtrudedAreaSolid(#120,#124,#125,20.), #129=IfcSweptDiskSolid(#128,10.,$,$,$), #139=IfcExtrudedAreaSolid(#133,#137,#138,20.), #142=IfcSweptDiskSolid(#141,25.000000372529,$,$,$)))
     +    where 'SweptSolid' = #143=IfcShapeRepresentation(#15,'Body','SweptSolid',(#116,#126,#129,#139,#142)).RepresentationType
     +    and   (#116=IfcSweptDiskSolid(#115,10.,$,$,$), #126=IfcExtrudedAreaSolid(#120,#124,#125,20.), #129=IfcSweptDiskSolid(#128,10.,$,$,$), #139=IfcExtrudedAreaSolid(#133,#137,#138,20.), #142=IfcSweptDiskSolid(#141,25.000000372529,$,$,$)) = #143=IfcShapeRepresentation(#15,'Body','SweptSolid',(#116,#126,#129,#139,#142)).Items
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants