Skip to content

Commit

Permalink
Merge 9f1263b into 87672e1
Browse files Browse the repository at this point in the history
  • Loading branch information
lukemartinlogan committed Apr 27, 2023
2 parents 87672e1 + 9f1263b commit 64ff52a
Show file tree
Hide file tree
Showing 527 changed files with 34,679 additions and 39,901 deletions.
1 change: 0 additions & 1 deletion .clang-format

This file was deleted.

19 changes: 0 additions & 19 deletions .github/release.yml

This file was deleted.

3 changes: 1 addition & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: actions/checkout@v2

- name: Setup python
uses: actions/setup-python@v1
uses: actions/setup-python@v4

- name: Cache Spack packages
uses: actions/cache@v2
Expand All @@ -42,7 +42,6 @@ jobs:
sudo apt-get install -y libsdl2-dev
sudo apt-get install -y graphviz
sudo apt-get install -y --no-install-recommends doxygen
sudo apt-get install -y libgoogle-glog-dev
- name: Build And Install Dependencies
if: steps.spack-cache.outputs.cache-hit != 'true'
Expand Down
31 changes: 23 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,27 @@ jobs:
uses: actions/checkout@v2

- name: Setup python
uses: actions/setup-python@v1
uses: actions/setup-python@v4

- name: Run cpplint
run: pip install cpplint==1.5.4 && bash ci/lint.sh `pwd`

- name: Cache Spack packages
uses: actions/cache@v2
uses: actions/cache@v3
id: spack-cache
with:
path: ~/${{ env.LOCAL }}
key: ${{ runner.os }}-${{ hashFiles('ci/**') }}
path: |
~/spack
~/.spack
key: ${{ runner.os }}-${{ hashFiles('ci/install_deps.sh') }}

- name: Cache Hermes
uses: actions/cache@v3
id: hermes-cache
with:
path: |
~/build
key: ${{ runner.os }}-${{ hashFiles('wrapper', 'traits', 'test', 'src', 'hermes_shm', 'benchmarks', 'adapter') }}

- name: Install APT Dependencies
run: |
Expand All @@ -55,13 +65,18 @@ jobs:
sudo apt-get install -y lcov
sudo apt-get install -y zlib1g-dev
sudo apt-get install -y libsdl2-dev
sudo apt-get install -y hdf5-tools
- name: Build And Install Dependencies
if: steps.spack-cache.outputs.cache-hit != 'true'
run: ci/install_deps.sh

- name: Build and Test
run: ci/install_hermes.sh
- name: Build
if: steps.hermes-cache.outputs.cache-hit != 'true'
run: ci/build_hermes.sh

- name: Test
run: cd build && ctest -VV

- name: Install
run: pushd build && make install && popd
Expand All @@ -71,8 +86,8 @@ jobs:
uses: mxschmitt/action-tmate@v3
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled && (failure() || !failure()) }}

- name: Multi-node Test
run: pushd ci/cluster && ./multi_node_ci_test.sh
# - name: Multi-node Test
# run: pushd ci/cluster && ./multi_node_ci_test.sh

- name: Generate coverage file
run: |
Expand Down
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
build/
benchmarks/HermesVFD

hermes_shm/.git*

GPATH
GRTAGS
GTAGS

/compiler_data

.gdb_history

/cmake-build-*
Expand All @@ -15,3 +19,5 @@ __pycache__/
/src/adapter/posix/cmake-build-debug-system/CMakeFiles/clion-log.txt
/adapter/test/posix/Testing/Temporary/LastTest.log
/.cache/

Testing
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,5 @@ install:
- spack repo add sds-repo
- spack install mochi-thallium~cereal && spack load -r mochi-thallium~cereal

script: ./ci/install_hermes.sh
script: ./ci/install_hshm.sh

40 changes: 0 additions & 40 deletions CMake/FindGLPK.cmake

This file was deleted.

43 changes: 43 additions & 0 deletions CMake/FindHermes.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Find labstor header and library.
#

# This module defines the following uncached variables:
# Hermes_FOUND, if false, do not try to use labstor.
# Hermes_INCLUDE_DIRS, where to find labstor.h.
# Hermes_LIBRARIES, the libraries to link against to use the labstor library
# Hermes_LIBRARY_DIRS, the directory where the labstor library is found.

find_path(
Hermes_INCLUDE_DIR
hermes/hermes.h
)

if( Hermes_INCLUDE_DIR )
get_filename_component(Hermes_DIR ${Hermes_INCLUDE_DIR} PATH)

find_library(
Hermes_LIBRARY
NAMES hermes
)

if( Hermes_LIBRARY )
set(Hermes_LIBRARY_DIR "")
get_filename_component(Hermes_LIBRARY_DIRS ${Hermes_LIBRARY} PATH)
# Set uncached variables as per standard.
set(Hermes_FOUND ON)
set(Hermes_INCLUDE_DIRS ${Hermes_INCLUDE_DIR})
set(Hermes_LIBRARIES ${Hermes_LIBRARY})
endif(Hermes_LIBRARY)
else(Hermes_INCLUDE_DIR)
message(STATUS "FindHermes: Could not find hermes_shm.h")
endif(Hermes_INCLUDE_DIR)

if(Hermes_FOUND)
if(NOT Hermes_FIND_QUIETLY)
message(STATUS "FindHermes: Found both hermes_shm.h and libhermes.so")
endif(NOT Hermes_FIND_QUIETLY)
else(Hermes_FOUND)
if(Hermes_FIND_REQUIRED)
message(STATUS "FindHermes: Could not find hermes_shm.h and/or libhermes.so")
endif(Hermes_FIND_REQUIRED)
endif(Hermes_FOUND)
Loading

0 comments on commit 64ff52a

Please sign in to comment.