Skip to content

Commit

Permalink
Turn off windows build and attempts at fixing mkdir stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
rhornung67 committed Aug 14, 2024
1 parent 444f1c4 commit 6d9f815
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 39 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
6 changes: 3 additions & 3 deletions src/common/OutputUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include<sys/types.h>
#include<sys/stat.h>

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

typedef int mode_t;
Expand Down Expand Up @@ -140,7 +140,7 @@ std::string recursiveMkdir(const std::string& in_path)
* path before sliding along path_buf.
*/
if ( !outpath.empty() && pos < 0) {
#if defined(_WIN32)
#if defined(_WIN32) && 0
if (_mkdir(path_buf, mode & MS_MODE_MASK) != 0) {
#else
if (mkdir(path_buf, mode) != 0) {
Expand Down Expand Up @@ -169,7 +169,7 @@ std::string recursiveMkdir(const std::string& in_path)

/* make directory if not at end of path */
if (pos < length) {
#if defined(_WIN32)
#if defined(_WIN32) && 0
if (_mkdir(path_buf, mode & MS_MODE_MASK) != 0) {
#else
if (mkdir(path_buf, mode) != 0) {
Expand Down

0 comments on commit 6d9f815

Please sign in to comment.