On Thursday, 15. August 2013, 09:06:14, Stefan Eilemann wrote:
> On 14. Aug 2013, at 17:30, Johannes Zarl <[email protected]> wrote:
> > The way the build-system currently works, it doesn't complain about
> > missing dependencies but just starts downloading stuff, even though
> > there might be a perfectly valid version available in the package
> > manager (boost), or locally installed.
> 
> You are 50% right. Buildyard does a find_package() and pkg_check_modules()
> before configuring source builds. For some reasons it didn't find your
> packages (boost).
> 
> You can disable source builds by unsetting PROJECT_REPO_URL in your
> config.local/overrides.cmake, but this will disable projects which are
> missing REQUIRED dependencies.

It seems as if this doesn't work. I've created the overrides.cmake file, but 
vrpn is still downloaded:

$ mkdir Buildyard/config.local ; grep '^set([A-Z]*_REPO_URL' -r -h -o . | sed 
's/$/)/' > Buildyard/config.local/overrides.cmake
$ cat Buildyard/config.local/overrides.cmake
set(BOOST_REPO_URL)
set(LIBJPEGTURBO_REPO_URL)
set(QWT_REPO_URL)
set(XDR_REPO_URL)
set(ZLIB_REPO_URL)
set(APITRACE_REPO_URL)
set(EQUALIZER_REPO_URL)
set(CMAKE_REPO_URL)
set(COLLAGE_REPO_URL)
set(DISPLAYCLUSTER_REPO_URL)
set(EQDOCS_REPO_URL)
set(EQUALIZER_REPO_URL)
set(GLSTATS_REPO_URL)
set(LUNCHBOX_REPO_URL)
set(NVCTRL_REPO_URL)
set(TUIO_REPO_URL)
set(VRPN_REPO_URL)
set(WIIUSE_REPO_URL)
set(BINO_REPO_URL)
set(EQOGRE_REPO_URL)
set(EQUALIZERGRAPHICS_REPO_URL)
set(EQVNC_REPO_URL)
set(EYESCALE_REPO_URL)
set(EYESCALEPORTS_REPO_URL)
set(HWSD_REPO_URL)
set(VMMLIB_REPO_URL)
set(VMMLIB_REPO_URL)
set(LUNCHBOX_REPO_URL)
set(COLLAGE_REPO_URL)
set(HWSD_REPO_URL)
set(GLSTATS_REPO_URL)
set(TUIO_REPO_URL)
set(EQUALIZER_REPO_URL)
$ make 
Scanning dependencies of target VRPN
[  0%] Creating directories for 'VRPN'
[  6%] Removing in-source Makefile
[  6%] Performing download step (git clone) for 'VRPN'
Cloning into 'VRPN'...
remote: Counting objects: 16898, done.
remote: Compressing objects: 100% (4152/4152), done.
^Cmake[2]: *** [Buildyard.bin/VRPN/src/VRPN-stamp/VRPN-download] Interrupt
make[1]: *** [Buildyard.bin/CMakeFiles/VRPN.dir/all] Interrupt
make: *** [all] Interrupt

> 
> > Another annying thing is that even optional components (vrpn) are
> > downloaded without confirmation.
> 
> That could be an option(BUILDYARD_BUILD_OPTIONAL_PROJECTS ON) in Buildyard:
> Feel free to implement it and submit a pull request.
> 
> > Is there a way to tell the equalizer build system (in git master) not to
> > download anything?
> 
> That doesn't make sense, then you wouldn't build anything and Buildyard is
> a NOP?

What about that doesn't make sense? If I had cloned Buildyard.git + 
config.eyescale (as described in the docs), then disabling Buildyard would be 
kind of moronic of me.

Since I explicitly cloned Equalizer, I had expected a buildsystem without 
buildyard (and the auto-download-stuff). In this context I would say it makes 
perfect sense to be able to make the Buildyard stuff a NOP. In fact, that would 
make Equalizer behave like (almost) every other project out there:
1) download&install dependencies
2) configure/cmake
3) make
4) make install

Cheers,
  Johannes

_______________________________________________
eq-dev mailing list
[email protected]
http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com

Reply via email to