-
Notifications
You must be signed in to change notification settings - Fork 43
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
Non-executables are installed in bin
#32
Comments
|
mex files should probably go wherever shared libraries go, since that's all they are. So bin on Windows, lib on Unix would make sense to me. |
Homebrew won't tolerate non-executables in |
There are cmake variables for most of this stuff. AMPL hardcodes some file names expecting these to be named dll and located in bin on all platforms (it's dlopening them, not linking to them), AIUI. If you don't expect anyone to use the homebrew ASL version with a full install of AMPL, you can probably delete them. |
I've changed the install directory for |
@dpo, I can add a CMake option to install AMPL function libraries in some other directory in case it helps. But then these libraries will have to be symlinked somewhere on the PATH for AMPL to be able to find these libraries. |
@tkelman AMPL function libraries can be used by solvers even if AMPL itself is not installed. |
Right, I do that with ASL reasonably often, but I don't think ASL is one of these always- |
Thanks @vitaut. If I install everything in |
I've added
@dpo, thanks a lot for your work on this! @tkelman, no, ASL is not one of the Closing for now. Feel free to reopen or open another issue if there are any other problems with this. |
Thanks @vitaut. By the way, I just noticed that |
No, it's not intentional. Should be fixed in e983438, thanks for catching this. |
On OSX,
make install
installs non-executables in$PREFIX/bin
, e.g., the compiled MEX files, and somedll
s. Is there a way to tellcmake
to install those elsewhere?The text was updated successfully, but these errors were encountered: