-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #148 from kpwelsh/main
Add Github Actions for CI/CD
- Loading branch information
Showing
66 changed files
with
729 additions
and
201 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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,16 @@ | ||
# These "# [...]" comments are functional. | ||
# They enable the line when the thing in [...] is a valid python expression that | ||
# evaluates to True. linux and osx are variables provided to us and set to True if | ||
# we are running conda-build on a Linux OS or MacOS, respectively. | ||
c_compiler: | ||
- gcc # [linux] | ||
- clang # [osx] | ||
cxx_compiler: | ||
- gxx # [linux] | ||
- clangxx # [osx] | ||
target_platform: | ||
- linux-64 # [linux] | ||
- linux-aarch64 # [linux] | ||
- linux-ppc64le # [linux] | ||
- osx-64 # [osx] | ||
- osx-arm64 # [osx] |
9 changes: 3 additions & 6 deletions
9
Anaconda-Packages/add-compiler-flags.sh → .conda/cross-compile-setup.sh
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 |
---|---|---|
@@ -1,9 +1,6 @@ | ||
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) | ||
|
||
CMAKE_PLATFORM_FLAGS+=(-DCMAKE_TOOLCHAIN_FILE="${SCRIPT_DIR}/cross-linux.cmake") | ||
source "${SCRIPT_DIR}/patch_conda_cxxflags.sh" | ||
|
||
# Make sure the MPI wrappers find the right compilers | ||
export OMPI_CC=$GCC | ||
export OMPI_CXX=$GXX | ||
export OMPI_FC=$F90 | ||
export OMPI_CC=$CC | ||
export OMPI_CXX=$CXX | ||
export OMPI_FC=$FC |
File renamed without changes.
File renamed without changes.
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,3 @@ | ||
# This file exists for the build-conda-package github action. | ||
empty: | ||
- 0 |
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,37 @@ | ||
{% set version = "1.0.0" %} | ||
{% set linux_compiler_version = "10.4.0" %} | ||
{% set macos_compiler_version = "12" %} | ||
|
||
package: | ||
name: evpfft-dev | ||
version: {{ version }} | ||
|
||
build: | ||
number: 1 | ||
noarch: generic | ||
skip: True # [not (linux and x86_64)] | ||
script_env: | ||
- PLATFORM={{ target_platform }} | ||
|
||
requirements: | ||
run: | ||
- {{ compiler('c') }}={{ linux_compiler_version }} # [linux] | ||
- {{ compiler('c') }}={{ macos_compiler_version }} # [osx] | ||
- {{ compiler('cxx') }}={{ linux_compiler_version }} # [linux] | ||
- {{ compiler('cxx') }}={{ macos_compiler_version }} # [osx] | ||
- openmpi | ||
- fierro-heffte | ||
- fftw=*=mpi_openmpi_* | ||
- kokkos=4.1 | ||
- hdf5=*=mpi_openmpi_* | ||
- elements | ||
|
||
about: | ||
home: https://github.com/lanl/Fierro | ||
summary: This is a metapackage for EVPFFT developers. Installing this package gives you all the dependencies necessary to build EVPFFT from source. | ||
description: | ||
dev_url: https://github.com/lanl/Fierro | ||
|
||
extra: | ||
recipe-maintainers: | ||
- kwelsh-lanl |
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,32 @@ | ||
package: | ||
name: evpfft_gui | ||
version: 2 | ||
|
||
source: | ||
path: ../../ | ||
# - git_url: https://github.com/lanl/Fierro.git | ||
# depth: 1 | ||
|
||
build: | ||
number: 0 | ||
script: cd python/EVPFFT-GUI/; pip install . | ||
noarch: python # This is a pure python package. So build for noarch on linux64 | ||
entry_points: | ||
- evpfft-gui = evpfft_gui.gui:main | ||
skip: true # [not (linux and x86_64)] | ||
skip: false # [linux and x86_64] | ||
|
||
requirements: | ||
host: | ||
- python | ||
- setuptools | ||
run: | ||
- paraview=5.11.2 | ||
- evpfft | ||
- fierro-voxelizer | ||
- python | ||
- pyside6=6.5 | ||
|
||
test: | ||
imports: | ||
- evpfft_gui |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
Anaconda-Packages/evpfft/cpu/build.sh → .conda/evpfft/cpu/build.sh
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
File renamed without changes.
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,33 @@ | ||
{% set version = "1.0.0" %} | ||
{% set compiler_version = "10.4.0" %} | ||
|
||
package: | ||
name: fierro-dev | ||
version: {{ version }} | ||
|
||
build: | ||
number: 1 | ||
noarch: generic | ||
skip: True # [not (linux and x86_64)] | ||
script_env: | ||
- PLATFORM={{ target_platform }} | ||
|
||
requirements: | ||
run: | ||
- cmake >=3.17 | ||
- {{ compiler('cxx') }}={{ compiler_version }} | ||
- fierro-trilinos-cpu | ||
- mpi | ||
- elements | ||
|
||
about: | ||
home: https://github.com/lanl/Fierro | ||
license: BSD-3-Clause | ||
license_family: BSD | ||
summary: | ||
Metapackage for consolidating development dependencies for fierro. | ||
dev_url: https://github.com/lanl/Fierro | ||
|
||
extra: | ||
recipe-maintainers: | ||
- kwelsh-lanl |
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
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
File renamed without changes.
Oops, something went wrong.