forked from mono/mono
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[versions.mk] Make path to SUBMODULES.json based on srcdir (mono#3314)
Since acceptance-tests/Makefile (and llvm/Makefile) include scripts/submodules/versions.mk which evals versions.py which looks for a SUBMODULES.json file in the current working directory we got confusing error messages if the build directory is not the src dir: ``` Traceback (most recent call last): File "../../mono/scripts/submodules/versions.py", line 22, in <module> submodules = json.load(open(CONFIG_FILE)) IOError: [Errno 2] No such file or directory: 'SUBMODULES.json' ``` Instead we now pass the path to SUBMODULES.json as a variable to versions.py and set it based on $(top_srcdir) so it works even for out-of-tree builds.
- Loading branch information
1 parent
6357991
commit d8d1fe6
Showing
5 changed files
with
29 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,6 +38,7 @@ obj/ | |
[Rr]elease*/ | ||
Ankh.NoLoad | ||
*.gpState | ||
.vscode/ | ||
|
||
# Tooling | ||
_ReSharper*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters