-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update new 3rd party libraries for 3.7 * fix ubuntu build * fix 3rd party library file names * fix 3rd party library file names * updates * update cmakelists * turn off installer builds * change hdf5 plugin path * fix typo * add HDF5 env variable to windows * simplify hdf5 plugin path on UNIX * Remove HDF5 plugin error * create SetHDF5pluginPath() in lib/common/ResourcePath.cpp * revert some CMakeLists.txt changes * test * windows update * fix CI conflict * fix CI conflict * osx update * update plugin installation path * test * test * Test * Test * Test * add message * fix osx build and address comments * test installer builds * swap libraries to vdc for SetHDF5PluginPath * forgot to add the important file * turn off build tests Co-authored-by: vapor2 <vapor2@localhost.localdomain>
- Loading branch information
Showing
11 changed files
with
80 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#pragma once | ||
|
||
#include "vapor/ResourcePath.h" | ||
|
||
#ifndef WIN32 | ||
#include <H5PLpublic.h> | ||
#endif | ||
|
||
namespace VAPoR { | ||
VDF_API void SetHDF5PluginPath() { | ||
string plugins = Wasp::GetSharePath("plugins"); | ||
|
||
#ifndef WIN32 | ||
H5PLreplace(plugins.c_str(), 0); | ||
#else | ||
plugins = "HDF5_PLUGIN_PATH=" + plugins; | ||
int rc=_putenv(plugins.c_str()); | ||
if (rc != 0) MyBase::SetErrMsg("Unable to set environtment variable %s", plugins.c_str()); | ||
#endif | ||
} | ||
}; // namespace VAPoR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters