Skip to content

Commit

Permalink
gitlab: move install directory outside buildtree
Browse files Browse the repository at this point in the history
Problem: When the install directory is under the build directory,
Flux's intree detection will look for external plugins, such as
flux-pmix, in the wrong path.

Move install outside build. Amend environment variables accordingly.
  • Loading branch information
wihobbs committed Jan 29, 2024
1 parent 5f2724f commit d14846e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .gitlab/builds.gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@
- cd flux-core
- ./autogen.sh
- mkdir build
- cd build
- mkdir install
- ../configure --prefix=$(pwd)/install
- cd build
- ../configure --prefix=${CI_DIRECTORY}/flux-core/install
- make -j $(nproc)
## need to install to get pkgconfig files
- export CORE_BUILD_DIR=$(pwd)
- export CORE_INSTALL_PREFIX=$(pwd)/install
- export CORE_INSTALL_PREFIX=${CI_DIRECTORY}/flux-core/install
- cd $FTC_DIRECTORY
- echo "CI_DIRECTORY=${CI_DIRECTORY}" >> build.env
- echo "CORE_BUILD_DIR=${CORE_BUILD_DIR}" >> build.env
Expand Down

0 comments on commit d14846e

Please sign in to comment.