Skip to content

Commit

Permalink
Try to fix windows build with header inclusion
Browse files Browse the repository at this point in the history
  • Loading branch information
rhornung67 committed Aug 14, 2024
1 parent 8d208c3 commit 8e79316
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 37 deletions.
72 changes: 36 additions & 36 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,39 +36,39 @@ jobs:
run-build: true
build-args: '--parallel 16'
- uses: threeal/[email protected]
# build_windows:
# strategy:
# matrix:
# shared:
# - args:
# BUILD_SHARED_LIBS=On
# CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=On
# - args: BUILD_SHARED_LIBS=Off
#
# runs-on: windows-latest
# steps:
# - uses: actions/checkout@v2
# with:
# submodules: recursive
### ====================================
### Config and build action
# - uses: threeal/[email protected]
# with:
# build-dir: build
# options:
# ENABLE_WARNINGS_AS_ERRORS=Off
# BLT_CXX_STD=""
# CMAKE_CXX_STANDARD=17
# CMAKE_BUILD_TYPE=Release
# ${{ matrix.shared.args }}
# run-build: true
# build-args: '--parallel 16'
### ====================================
### Print the contents of the test directory in the build space (debugging)
### - run: |
### dir -r D:\a\RAJA\RAJA\build\test
### ====================================
### Run tests action
# - uses: threeal/[email protected]
# with:
# build-config: Debug
build_windows:
strategy:
matrix:
shared:
- args:
BUILD_SHARED_LIBS=On
CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=On
- args: BUILD_SHARED_LIBS=Off

runs-on: windows-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
## ====================================
## Config and build action
- uses: threeal/[email protected]
with:
build-dir: build
options:
ENABLE_WARNINGS_AS_ERRORS=Off
BLT_CXX_STD=""
CMAKE_CXX_STANDARD=17
CMAKE_BUILD_TYPE=Release
${{ matrix.shared.args }}
run-build: true
build-args: '--parallel 16'
## ====================================
## Print the contents of the test directory in the build space (debugging)
## - run: |
## dir -r D:\a\RAJA\RAJA\build\test
## ====================================
## Run tests action
- uses: threeal/[email protected]
with:
build-config: Debug
4 changes: 3 additions & 1 deletion src/common/OutputUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@

#include<sys/types.h>
#include<sys/stat.h>

#if defined(_WIN32)
#include<io.h>
#endif

namespace rajaperf
{
Expand Down

0 comments on commit 8e79316

Please sign in to comment.