Le 25/08/2016 à 23:10, Erik Schnetter a écrit : > Ed > > ./configure --help > > should tell you. In short, you need to set the variables > > HWLOC_CFLAGS > C compiler flags for HWLOC, overriding pkg-config > HWLOC_LIBS linker flags for HWLOC, overriding pkg-config > > to contain the respective -I and -L and -l flags.
Or, even simpler (in particular if you have several locally installed libraries), setup the correct envvar. In this case, you need: - PKG_CONFIG_PATH: at configure/compile time, so that your lib will be found by the build system (man pkg-config for more info on the envvar) - LD_LIBRARY_PATH: at tests/runtime, so that your lib will be found by the dynamic linker (needed only if the build system do not use rpath) You can put these variables into your initial setup, so that you do not need to setup them for each compilation (and there are others that can be useful for private compilation and installation: LIBRARY_PATH (see gcc(1)) MANPATH (see man(1)), PERL5LIB(for perl(1)), ... Vincent > -erik > > > On Thu, Aug 25, 2016 at 4:43 PM, Edward May <[email protected] > <mailto:[email protected]>> wrote: > > Dear Developers > > I am trying to do a non root install of pocl-0.13 > the machine has no hwloc but I have build and installed > a private version of hwloc. > > How do I tell pocl configure where to find this private > version of hwloc? > > Ed > > > ______________________________________________________________ > Edward N. May Phone: (630)-252-6222 > <tel:%28630%29-252-6222> > High Energy Physics Division FAX: (630)-252-5076 > <tel:%28630%29-252-5076> > Argonne National Laboratory Internet: [email protected] > <mailto:[email protected]> > Argonne, IL 60439 USA Webpage: http://www.hep.anl.gov/may > > > ------------------------------------------------------------------------------ > _______________________________________________ > pocl-devel mailing list > [email protected] <mailto:[email protected]> > https://lists.sourceforge.net/lists/listinfo/pocl-devel > <https://lists.sourceforge.net/lists/listinfo/pocl-devel> > > > > > -- > Erik Schnetter <[email protected] <mailto:[email protected]>> > http://www.perimeterinstitute.ca/personal/eschnetter/ > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > pocl-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/pocl-devel > ------------------------------------------------------------------------------ _______________________________________________ pocl-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pocl-devel
