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
Improve DIM dependencies and installation #798
Conversation
@Barthelemy with this installation method, this is what we get in the installation directory:
which means that:
The directory structure is very questionable... but it's there for compatibility :-( What do you think? |
( export OS=Linux | ||
source setup.sh | ||
gmake realclean | ||
gmake X64=yes ) |
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.
what are those parentheses ?
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.
Those parentheses are like the Fight Club. Whatever happens there (environment-wise), stays there :-)
Jokes aside: it's an inner shell, so whatever export
, etc. will not be available outside of them.
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.
ok thank you !
dim.sh
Outdated
# Installation | ||
rsync -av dim/ $INSTALLROOT/dim/ # headers | ||
rsync -av --exclude "*.o" --exclude "*.so" --exclude "*.a" linux/ $INSTALLROOT/ # executables | ||
mkdir $INSTALLROOT/lib && cp -v linux/*.{a,so} $INSTALLROOT/lib/ # libraries |
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.
if we have any ways a messy installation folder, I would not move the libs in lib and keep them in the top dir along with the binaries.
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.
No problem for me, but you told me:
cp -r linux/*.a linux/*.so $INSTALLROOT/lib
What would your preferred way be then? Toplevel?
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.
toplevel, sorry I mislead you.
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.
OK update coming.
can be merged |
No description provided.