octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #54804] mex does not support setting environme


From: Richard
Subject: [Octave-bug-tracker] [bug #54804] mex does not support setting environment variables on command line
Date: Wed, 10 Oct 2018 09:04:11 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0

Follow-up Comment #2, bug #54804 (project octave):

In matlab, for each supported compiler there is an xml file (since recent
versions, previously this was done with a shell script or a windows batch
file) which defines various settings for that compiler for any languages it
supports. It is there that the variables which may be redefined in this way
are initially defined. The mex -setup command basically selects one of these
XML config files to allow switching between different compiler configurations.
I'm not suggesting Octave needs to go this far, but making some variables able
to be overridden in this way is helpful. I agree that it would be nice if
mkoctfile supported a similar syntax.

I have struggled to find any official documentation on the xml file format,
although I did find a githup repo with examples someone has created here:

https://github.com/rymut/matlab-mex-intel18



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?54804>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]