spaulaus / paass-lc

Acquire and Analyze data from XIA Pixie16 modules
GNU General Public License v3.0
2 stars 7 forks source link

Build fails if Cmake cannot find any firmware files. #110

Closed spaulaus closed 6 years ago

spaulaus commented 6 years ago

Expected Behavior

The Acquisition build should not depend on the presence of firmware

Current Behavior

If no firmware is present during the acquisition build, the build fails.

Context

Since the software doesn't require that we have firmware files to build, we shouldn't fail if there are not any. This will be doubly important once we have our dummy interface done.

Possible Solution (optional)

Acceptance Criteria

  1. The build completes if we don't have any firmware installed.

Bug Report

Your Environment

Can be found here : https://travis-ci.org/spaulaus/TravisCI-Tests/builds/343024079

Steps to Reproduce

  1. Install PLX API
  2. Install XIA API
  3. Build with -DPAASS_BUILD_ANALYSIS=OFF -DPAASS_BUILD_ACQ=ON -DPAASS_BUILD_SETUP=ON

Error Logs

-- WARNING: Unable to autocomplete global configuration!
    Unique CrateConfig file (share/pxisys/pxisys*.ini) not found!
-- WARNING: Unable to autocomplete global configuration!
    Unique DspSetFile file (share/default.set) not found!
CMake Error at Cmake/modules/FindXIA.cmake:281 (LIST):
  LIST sub-command REMOVE_DUPLICATES requires list to be present.
Call Stack (most recent call first):
  Cmake/modules/FindXIA.cmake:160 (subdirlist)
  CMakeLists.txt:113 (XIA_CONFIG)
spaulaus commented 6 years ago

This issue was moved to spaulaus/paass#110