Skip to content
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

Refactor freecad.rb for FreeCAD 0.16+, Travis-CI and FreeCAD-ports-cache #24

Closed
bblacey opened this issue Oct 3, 2016 · 3 comments
Closed
Assignees

Comments

@bblacey
Copy link
Collaborator

bblacey commented Oct 3, 2016

Some of the changes necessary:

  • Now hosted on github (not sourceforge), so url resource needs to be updated accordingly
  • 0.16 has since been released
  • Opencascade 7 is preferred over OCE (OCE is languishing and is somewhat obviated by OCCT 7)
  • FreeCAD is supported on Mavericks and later
  • Formula logic can be simplified because CMake configs are more sophisticated (i.e. better dependency location)
  • New dependencies (vtk, nglib, med-file)
  • Tailored bottles
  • New cmake build defines
@bblacey bblacey self-assigned this Oct 3, 2016
bblacey added a commit that referenced this issue Oct 3, 2016
  - Set url resource to GitHub release 0.16
  - Depends on OCCT7 instead of OCE (deprecated)
  - Formula minimum OS is Mavericks+ (homebrew and travis require Yosemite+)
  - Added new vtk, nglib, med-file dependencies - fully qualified to use associated bottles
  - Simplified formula logic given FreeCAD cmake robustness improvements since 0.15

Currently --only-dependencies has been tested because this is the minimum requirement for
travis-ci builds

References #24
bblacey added a commit that referenced this issue Oct 6, 2016
@bblacey
Copy link
Collaborator Author

bblacey commented Oct 7, 2016

This formula is still in work but the following configurations have been tested and this formula is now used by Travis CI to install all FreeCAD dependencies for each continuous integration build.

Install FreeCAD dependencies
brew install --only-dependencies FreeCAD/freecad/freecad

Install FreeCAD dependencies using pre-built FreeCAD-specific bottles to reduce install time
brew install --only-dependencies FreeCAD/freecad/freecad --with-freecad-bottles

Install FreeCAD 0.17 head
brew install FreeCAD/freecad/freecad -HEAD

Install FreeCAD 0.17_pre
brew install FreeCAD/freecad/freecad

Still need to add ability to package as an Application but I see this mainly for installing FreeCAD dependencies and most non-developers should simply use the CI builds available in the Releases section of the FreeCAD/FreeCAD Github repo.

@ianrrees
Copy link
Collaborator

ianrrees commented Jan 2, 2018

Safe to say this is now done?

@bblacey
Copy link
Collaborator Author

bblacey commented Jan 2, 2018

Yes. Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants