2009/6/12 Stephen Hartke <[email protected]>: > Now that the semester is over, I'm trying to finish the spkg for lp_solve. > lp_solve does not use autoconf and make, but rather has its own specialized > build scripts for different platforms (mainly Windows, Mac OS X, and > Linux/UNIX). What is the recommended way of determining which platform Sage > is running on? >
Look at the output of the uname command. You can find examples of this sort of thing happening in spkg-install bash scripts that are in the various sage spkg's. E.g., if [ `uname` = "Darwin" ]; then ... fi William --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
