-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Automatically disable USE_BINARYBUILDER_xxx
when USE_SYSTEM_xxx
is set
#31725
Conversation
b3940ce
to
03a28d6
Compare
Requesting review from @vtjnash to ensure that my |
03a28d6
to
7376d10
Compare
This is failing Appveyor because we have an incoherent set of makevars set:
We can't have |
If I recall the appveyor script correctly it should be |
With the new BB system, I don't think this is necessary anymore. We should be able to build from scratch; we don't need to bootstrap off of the previous build's libraries anymore. |
Would it be possible to set USE_BINARYBUILDER:=0 in Make.user to avoid all pre-compiled binaries without having to set them manually? This seems to be set very late in Make.inc, so there's no way to override that. When debugging I want to some compiler flags to be set through-out and be sure that either the library comes from the system (which means I also rebuilt them but in a shared location) or is truly rebuild from source. |
Yes, absolutely. That's the purpose of override USE_BINARYBUILDER=0 The |
On Tue, Apr 16 2019, Elliot Saba wrote:
> Would it be possible to set USE_BINARYBUILDER:=0 in Make.user to avoid all pre-compiled binaries without having to set them manually?
Yes, absolutely. That's the purpose of `Make.user`, and the purpose of `USE_BINARYBUILDER`. Just put the following in your `Make.user`:
This doesn't really work though (I tried beforehand).
I can override individual deps, but not all of them.
|
Here's an example of how to do it, and how to check that it is working. First, let's check that the buildsystem wants to use BinaryBuilder for LLVM:
Now, let's tell the buildsystem to not use BinaryBuilder; we'll flip the global switch, then check to see what the build system wants to do with LLVM:
This was verified with the latest |
On Tue, Apr 16 2019, Yuri D'Elia wrote:
> Yes, absolutely. That's the purpose of `Make.user`, and the purpose of `USE_BINARYBUILDER`. Just put the following in your `Make.user`:
This doesn't really work though (I tried beforehand).
I can override individual deps, but not all of them.
Ok, scratch that, I forgot to do a full clean inbetween.
It would be nicer if overriding wasn't needed though. I guess it's not
possible to move the check earlier in Make.inc, before the inclusion of
Make.user?
|
The timing of |
Does |
contrib/windows/appveyor_build.sh
Outdated
@@ -85,37 +85,6 @@ case $(uname) in | |||
;; | |||
esac | |||
|
|||
# Download most recent Julia binary for dependencies |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😂
Bump. What's the status of this? Ready to merge? |
b29b5cf
to
f1a99f3
Compare
…s set Also renames `USE_BINARYBUILDER_UNWIND` to `USE_BINARYBUILDER_LIBUNWIND` for consistency, as well as providing a little bit of dependency logic to auto-disable `USE_BINARYBUILDER_SUITESPARSE` if `USE_SYSTEM_BLAS` is set, for example.
f1a99f3
to
5bd7636
Compare
Needed a rebase and a trim; assuming this passes CI, it's good to merge. |
@@ -1,6 +1,6 @@ | |||
## UNWIND ## | |||
|
|||
ifneq ($(USE_BINARYBUILDER_UNWIND),1) | |||
ifneq ($(USE_BINARYBUILDER_LIBUNWIND),1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is set in .travis.yml; needs to be renamed there.
Also renames
USE_BINARYBUILDER_UNWIND
toUSE_BINARYBUILDER_LIBUNWIND
for consistency, as well as providing a little bit of dependency logic
to auto-disable
USE_BINARYBUILDER_SUITESPARSE
ifUSE_SYSTEM_BLAS
isset, for example.