From 416cef56a9af824fdc7c9b5f2f1992d4b5a659f8 Mon Sep 17 00:00:00 2001 From: Nicholson Koukpaizan Date: Wed, 22 Jan 2025 10:01:16 -0500 Subject: [PATCH 1/5] List pwd in CI. --- .github/workflows/spack_default_build.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/spack_default_build.yaml b/.github/workflows/spack_default_build.yaml index e4f596c2f..46f26a4dc 100644 --- a/.github/workflows/spack_default_build.yaml +++ b/.github/workflows/spack_default_build.yaml @@ -145,6 +145,9 @@ jobs: - name: Spack develop gridkit run: spack -e . develop --path=$(pwd) gridkit@develop + - name: List working directory + run: ls -ltrh $(pwd)/*/*/ + - name: Concretize run: spack -e . concretize From 3687d5c62cf8fac9594d0de2654eafa505da5778 Mon Sep 17 00:00:00 2001 From: Nicholson Koukpaizan Date: Wed, 22 Jan 2025 10:01:38 -0500 Subject: [PATCH 2/5] Remove lookup_table.dat install. --- Examples/ParameterEstimation/CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/Examples/ParameterEstimation/CMakeLists.txt b/Examples/ParameterEstimation/CMakeLists.txt index 212dd5cc6..c7067b5ef 100644 --- a/Examples/ParameterEstimation/CMakeLists.txt +++ b/Examples/ParameterEstimation/CMakeLists.txt @@ -72,6 +72,5 @@ target_link_libraries(paramest # Fortran linker needed to link to HSL solvers set_property(TARGET paramest PROPERTY LINKER_LANGUAGE Fortran) install(TARGETS paramest RUNTIME DESTINATION bin) -install(FILES lookup_table.dat DESTINATION bin) add_test(NAME ParameterEst COMMAND $) From 71b8f97682251bb1fffb4b89619d1f866359eebe Mon Sep 17 00:00:00 2001 From: Nicholson Koukpaizan Date: Wed, 22 Jan 2025 10:45:02 -0500 Subject: [PATCH 3/5] Downgrade LLVM from 18 to 16 in CI and update README accordingly. --- .github/workflows/spack_default_build.yaml | 4 ++-- README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/spack_default_build.yaml b/.github/workflows/spack_default_build.yaml index 46f26a4dc..3fe72c371 100644 --- a/.github/workflows/spack_default_build.yaml +++ b/.github/workflows/spack_default_build.yaml @@ -129,8 +129,8 @@ jobs: packages: llvm: externals: - - spec: llvm@18 - prefix: /usr/lib/llvm-18 + - spec: llvm@16 + prefix: /usr/lib/llvm-16 EOF - name: Configure GHCR mirror diff --git a/README.md b/README.md index 33f53555c..dd331fc64 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ You should have all of the following installed before installing GridKit™ - [Suitesparse](https://github.com/DrTimothyAldenDavis/SuiteSparse) >= 5.x (optional) - [Ipopt](https://github.com/coin-or/Ipopt) >= 3.x (optional) - [Enzyme](https://github.com/EnzymeAD/Enzyme) >=0.0.131 (optional) - - [LLVM](https://github.com/llvm/llvm-project) >= 18.x + - [LLVM](https://github.com/llvm/llvm-project) 16.x - [CMake](https://cmake.org/) >= 3.12 - C++ 17 compliant compiler From c20c5cc2dd10996ab187c5c0ac9b3f8b2041f150 Mon Sep 17 00:00:00 2001 From: Nicholson Koukpaizan <72402802+nkoukpaizan@users.noreply.github.com> Date: Wed, 22 Jan 2025 11:17:53 -0500 Subject: [PATCH 4/5] Update README.md Co-authored-by: pelesh --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dd331fc64..e0dec6e40 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ You should have all of the following installed before installing GridKit™ - [Suitesparse](https://github.com/DrTimothyAldenDavis/SuiteSparse) >= 5.x (optional) - [Ipopt](https://github.com/coin-or/Ipopt) >= 3.x (optional) - [Enzyme](https://github.com/EnzymeAD/Enzyme) >=0.0.131 (optional) - - [LLVM](https://github.com/llvm/llvm-project) 16.x + - [LLVM](https://github.com/llvm/llvm-project) >= 15.x - [CMake](https://cmake.org/) >= 3.12 - C++ 17 compliant compiler From 98794e534fb94fc3544d733edbc871e0638b7286 Mon Sep 17 00:00:00 2001 From: Nicholson Koukpaizan Date: Wed, 22 Jan 2025 11:19:46 -0500 Subject: [PATCH 5/5] Add note about Gridkit being tested with LLVM 16. --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e0dec6e40..2542608a5 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,8 @@ You should have all of the following installed before installing GridKit™ - [Suitesparse](https://github.com/DrTimothyAldenDavis/SuiteSparse) >= 5.x (optional) - [Ipopt](https://github.com/coin-or/Ipopt) >= 3.x (optional) - [Enzyme](https://github.com/EnzymeAD/Enzyme) >=0.0.131 (optional) - - [LLVM](https://github.com/llvm/llvm-project) >= 15.x + - [LLVM](https://github.com/llvm/llvm-project) >= 15.x. GridKit is + currently tested with LLVM 16. - [CMake](https://cmake.org/) >= 3.12 - C++ 17 compliant compiler