-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regression: make install does not work within build tree #5
Comments
We will take a look, @PetrilloAtWork. This may be the expected behavior with MRB 5. |
@PetrilloAtWork I am curious. Why "cd $MRB_TOP" to run mrbsetenv? That command is designed to be run from $MRB_BUILDDIR. |
I do not reproduce this behavior (working from a fresh login). Also, I do not see the "build system weirdness" referenced above. Is it possible that you have something set unexpectedly in your environment? |
mkdir makeInstallTest cd makeInstallTest mrb newDev -v v09_38_00 -q e20:prof source localProducts_larsoft_v09_38_00_e20_prof/setup cd srcs mrb g larcore cd $MRB_BUILDDIR mrbsetenv mrb t -j20 (build and test) cd larcore make make install |
Apologies for the misunderstanding, you are trying to install from larcore/larcore. That most definitely does not work. I am somewhat surprised that it ever worked. |
I was not aware of that. In fact, I have never, ever bothered to enter
What I perceived as build "weirdness" is that the second
Even now it goes quite close to work... just not quite enough any more. |
@chissg, can you comment on this issue when you return from vacation? |
Running partial installs with the native build tool is not recommended practice under CMake: can I ask what need this satisfies in your workflow? In order to have correct behavior for installation and packaging both for UPS and non-UPS installations, we append As for the, "build system weirdness:" there is now some protection against hysteresis caused by |
This is in the context of a development workflow, and it does not apply in production workflow.
Sometimes the testing of the changes requires the |
In a development MRB environment, running
make install
from a subdirectory of the build tree of a package installs the files into$MRB_INSTALL
instead of${MRB_INSTALL}/<package>/<version>
.This is a regression in that this used to work correctly in the past (not sure when... guessing: old MRB 4).
Tested with
larsoft
v09_38_00
and its dependencies.Steps to reproduce
Setup
This is a plain MRB developing area based on LArSoft
v09_38_00
withlarcore
checked out.Test
From the build directory (from
$MRB_TOP
is the same):shows e.g.
/icarus/app/users/petrillo/LArSoft/tests/makeInstallTest/localProducts_larsoft_v09_38_00_e20_prof/larcore/v09_04_00/source/larcore/CoreUtils/ServiceUtil.h
.From the main build directory of the package it also works:
yields the same as above.
From a subdirectory therein:
shows e.g.
/icarus/app/users/petrillo/LArSoft/tests/makeInstallTest/localProducts_larsoft_v09_38_00_e20_prof/source/larcore/CoreUtils/ServiceUtil.h
.Note the absence in the installation path of the package-specific part:
larcore/v09_04_00
.Priority
This is a low priority bug.
That feature was quite handy to me (I spare the reader a description of the frustration that led to the discovery).
The text was updated successfully, but these errors were encountered: