From c6aab878ef15858c86fad4d10d9a9380fbc562cf Mon Sep 17 00:00:00 2001 From: Bogdan Nicolae <bogdan.nicolae@acm.org> Date: Thu, 20 Oct 2022 17:48:31 -0500 Subject: [PATCH] added support for VELOC config through env variables --- thirdparty/veloc/FileIOVELOC.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/thirdparty/veloc/FileIOVELOC.cxx b/thirdparty/veloc/FileIOVELOC.cxx index 82e920e..e0114c3 100644 --- a/thirdparty/veloc/FileIOVELOC.cxx +++ b/thirdparty/veloc/FileIOVELOC.cxx @@ -10,8 +10,8 @@ static std::string get_veloc_cfg() { char *ptr = getenv("GENERICIO_USE_VELOC"); if (ptr == NULL) - FATAL("GENERICIO_USE_VELOC environment variable missing, must point to a valid VELOC configuration file"); - return std::string(ptr); + return ""; + return ptr; } namespace gio { -- GitLab