Giter VIP home page Giter VIP logo

Comments (3)

mitza-oci avatar mitza-oci commented on May 28, 2024

Building for multiple targets is possible. This can be achieved without an external build directory.

There are two existing tools to consider:

  • Define the makefile variable ARCH to redirect build outputs to that subdirectory
  • $MPC_ROOT/clone_build_tree.pl creates "virtual" source trees using symlinks, and these can be used like external build directories

Let us know if those don't work for your use case.

from ace_tao.

alexchandel avatar alexchandel commented on May 28, 2024

I'd never though of a symlink tree, but I imagine one would take up some space given the sheer number of files in the ACE/TAO distro, right?

Will ARCH also place final static/dynamic library products in separate subdirectories?

from ace_tao.

mitza-oci avatar mitza-oci commented on May 28, 2024

I'd never though of a symlink tree, but I imagine one would take up some space given the sheer number of files in the ACE/TAO distro, right?

On my system it takes about 45 MB for symlinks to to the full ACE_TAO source tree (which itself uses 162 MB). Deleting unneeded subdirectories reduces it to 13 MB of symlinks for 90 MB of source. Storage space is pretty cheap these days so this seems reasonable to me.

For this test I removed these ACE subdirectories:
rm -rf ASNMP apps/{drwho,Gateway,JAWS*,mkcsregdb,soreduce} contrib debian examples netsvcs performance-tests rpmbuild tests websvcs ACEXML/tests ACEXML/examples Kokyu/tests protocols/tests protocols/examples

And these from TAO:
rm -rf DevGuideExamples examples interop-tests performance-tests tests orbsvcs/{tests,examples,performance-tests,DevGuideExamples}

The TAO_ACE.mwc workspace, which is what we recommend using, should still build fine with these directories left out. The list of directories to remove could probably be refined if space is really at a premium, this just a list I've used before for similar activities.

Will ARCH also place final static/dynamic library products in separate subdirectories?

Yes.

$ find ACE/lib -name libACE.\*
ACE/lib/i686/libACE.so.6.5.2
ACE/lib/i686/libACE.so
ACE/lib/x86_64/libACE.so.6.5.2
ACE/lib/x86_64/libACE.so

from ace_tao.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.