You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both buildings with Spack and CMake have the O_TMPFILE error.
From building with Spack:
>> 309 /tmp/$USER/spack-stage/spack-stage-hermes-master-3kaezfwzoaefbzsmklylfvcesjzp4yst/spack-src/adapter/posix/fs_api.cc:24:44: error: 'O_TMPFILE' was not declared in this scope
From building with CMake:
[ 11%] Building CXX object adapter/posix/CMakeFiles/hermes_posix_backend.dir/fs_api.cc.o
/people/tang584/hermes_stage/hermes/adapter/posix/fs_api.cc: In member function ‘virtual hermes::adapter::fs::File hermes::adapter::posix::PosixFS::_RealOpen(hermes::adapter::fs::AdapterStat&, const string&)’:
/people/tang584/hermes_stage/hermes/adapter/posix/fs_api.cc:24:44: error: ‘O_TMPFILE’ was not declared in this scope
24 | if (stat.flags & O_CREAT || stat.flags & O_TMPFILE) {
| ^~~~~~~~~
make[2]: *** [adapter/posix/CMakeFiles/hermes_posix_backend.dir/fs_api.cc.o] Error 1
make[1]: *** [adapter/posix/CMakeFiles/hermes_posix_backend.dir/all] Error 2
make: *** [all] Error 2
Hermes beta 0.9.5
Both buildings with Spack and CMake have the O_TMPFILE error.
From building with Spack:
From building with CMake:
Solution for building with CMake:
Add the below lines to hermes/adapter/filesystem/filesystem.h
The text was updated successfully, but these errors were encountered: