-
Notifications
You must be signed in to change notification settings - Fork 25
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
Add Mac os x installation scripts #46
base: main
Are you sure you want to change the base?
Conversation
Update 1
…ackages Packages replaced: - build-essential - python-software-properties - software-properties-common These packages are not for MacOS, and are not available through brew install or pip, so I went through the different parts of them and picked out what seemed to be relavent (as well as what was able to be installed through brew and pip) to Mac and added it.
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.
small problem pip
Co-authored-by: Baptiste Mouginot <[email protected]>
Co-authored-by: Baptiste Mouginot <[email protected]>
Co-authored-by: Baptiste Mouginot <[email protected]>
Co-authored-by: Baptiste Mouginot <[email protected]>
Co-authored-by: Baptiste Mouginot <[email protected]>
you also need to change the permission of macosx.sh and ox.????.sh scripts to executable |
I accidentially pushed to the wrong branch
You'll want to exclude the |
My bad, I pushed changes to the wrong branch when I changed the permissions so those got wrapped up in it. I thought I deleted that dockerfile. Thanks for the note |
Some various fix
Co-authored-by: Baptiste Mouginot <[email protected]>
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! thx @nsryan2
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.
For long term maintenance purposes, I'm comparing this to the ubuntu_mint
version. Are all differences strictly necessary?
-DCMAKE_INSTALL_PREFIX=${install_dir}/moab | ||
make | ||
make install | ||
|
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.
Difference from Ubuntu: why not update the ENV Variables directly here (instead of sourcing .bashrc below)?
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.
I think we should update the linux version accordingly:
I see 2 advantages:
- simplify the scripts
- allow to check if .bashrc if properly formed
macosx.sh
Outdated
TAG=$(git describe --abbrev=0 --tags) | ||
git checkout tags/`echo $TAG` -b `echo $TAG` | ||
fi | ||
python setup.py install --user -- -DMOAB_LIBRARY=$install_dir/moab/lib -DMOAB_INCLUDE_DIR=$install_dir/moab/include |
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.
This looks like an "old-fashioned" way to configure setup.py. Why not the --moab
and --dagmc
options? Also, no DAGMC? Is that not possible?
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.
fixing this right now
Co-authored-by: Baptiste Mouginot <[email protected]>
this should be the last one
convergence in macos and ubuntu scripts
Co-authored-by: Baptiste Mouginot <[email protected]>
An item to confirm/test for @bam241 or @nsryan2:
Do we need both of these, or can we rely on the one in
|
I keep getting the error asking for a stdio.h file, but I'm not sure how to make or install one. This failure happens in the moab part of the install, is there a package or file I can install separately to prevent this?
Edit: |
Double check your installation of xcode's command-line tools. frida/frida#338 |
This PR adds a macosx.sh file (which is a replica of the the ubuntu_mint.sh) and a osx_10.15.06.sh file (which is a replica of the ubuntu_16.04.sh file). They have been adapted to hopefully work on mac.