[openib-general] Re: [PATCH] osm: add a main auto tools project for osm

Michael S. Tsirkin mst at mellanox.co.il
Sun Aug 14 04:13:57 PDT 2005


Quoting r. Eitan Zahavi <eitan at mellanox.co.il>:
> Subject: [PATCH] osm: add a main auto tools project for osm
> 
> Hi Hal
> 
> Fixing the patch I have sent last week by moving the bin and lib into 
> the /usr/local and keep the
> includes in place: /usr/local/include/infiniband
> 
> This patch includes:
> 1. Added a top level autotools project for OpenSM.
>   So now you need autogen.sh && configure && make && make install just 
> once for osm
>  (previously needed 4: complib, libvendor, opensm, osmtest).
> 2. Cleanup the direct override of libdir, bindir. Support --prefix
> 3.  Move osm lib, bin into default prefix (/usr/local)
> 4. Support debug build for OpenSM using --enable-debug
>   This is important to allow for asserts during runtime and various 
> other additional debug features.
>   Since the generated compilb can not be used with the release version 
> we also use a special header file that stores the type of build
>   for applications that wish to link with it.
> 5. Cleanup stale use of  AC_CHECK_LIB with no parameters

Eitan, for debug, I suggest removing -O0.
This is the default, lets the user set the optimization level with environment
variables.

-- 
MST



More information about the general mailing list