Skip to content

adding a "profile=" option to the scons command line yeld a warning message, while the custom.py gets parsed #56359

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

Closed
MadMcCrow opened this issue Dec 30, 2021 · 1 comment · Fixed by #56551

Comments

@MadMcCrow
Copy link

Godot version

master branch, commit 91b97da

System information

Manjaro Linux

Issue description

when building from source with a custom.pyfile set via the profile= Scons option, you get the warning message :

WARNING: Unknown SCons variables were passed and will be ignored:
    profile=path/custom.py

nonetheless, the custom.py file gets parsed (a print line at the top gets called 3 times when doing so)

Steps to reproduce

Create a custom.py file somewhere on your system.
clone godot from github.
call
scons -j 4 profile=path/to/your/custom.py

Minimal reproduction project

This happens with my (relatively) small project :
you can do

git clone https://github.com/MadMcCrow/ARMORY.git
git checkout  WFC-custom-module
git submodule update --init
make
@Calinou
Copy link
Member

Calinou commented Dec 30, 2021

This is a regression from #55203. It will be fixed by #55698 if it's merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment