-
Notifications
You must be signed in to change notification settings - Fork 178
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
tc-build: Python rewrite #2
tc-build: Python rewrite #2
Commits on Apr 15, 2019
-
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
Harsh Shandilya committedApr 15, 2019 Configuration menu - View commit details
-
Copy full SHA for 9a4ffa9 - Browse repository at this point
Copy the full SHA 9a4ffa9View commit details -
build.py: Rename to build-llvm.py and make executable
We are eventually going to have a build-binutils.py as well. Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 9a1ee12 - Browse repository at this point
Copy the full SHA 9a1ee12View commit details -
build-llvm.py: Use a more generic python3 shebang
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for fa0208d - Browse repository at this point
Copy the full SHA fa0208dView commit details
Commits on Apr 16, 2019
-
build-llvm.py: Set defaults, fix '-i' type, and remove debug prints
Incremental is supposed to be a boolean. Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 16e3ea1 - Browse repository at this point
Copy the full SHA 16e3ea1View commit details -
build-llvm.py: Add check_dependencies function
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 4af4a46 - Browse repository at this point
Copy the full SHA 4af4a46View commit details -
These will be common functions we'll use across build-llvm.py and build-binutils.py. Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e1502a3 - Browse repository at this point
Copy the full SHA e1502a3View commit details -
build-llvm.py: Implement most of check_cc_ld_variables
TODOs: * Clang version checks * Actually making the final variables accessible outside of the function Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 8a60208 - Browse repository at this point
Copy the full SHA 8a60208View commit details -
tc-build: Implement fetch_llvm_binutils
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for d715e7a - Browse repository at this point
Copy the full SHA d715e7aView commit details -
build-llvm.py: Implement cleanup
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3d3b58f - Browse repository at this point
Copy the full SHA 3d3b58fView commit details -
build-llvm.py: Implement invoke_cmake
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for b405c5c - Browse repository at this point
Copy the full SHA b405c5cView commit details -
build-llvm.py: Implement invoke_ninja
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 26a3a28 - Browse repository at this point
Copy the full SHA 26a3a28View commit details -
build-llvm.py: Remove pass statement
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e008cae - Browse repository at this point
Copy the full SHA e008caeView commit details -
build-binutils.py: Add skeleton
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for fd31fcc - Browse repository at this point
Copy the full SHA fd31fccView commit details -
build-binutils.py: Implement parse_parameters
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 72c09d1 - Browse repository at this point
Copy the full SHA 72c09d1View commit details -
build-binutils.py: Implement create_tuples
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for c13fdb8 - Browse repository at this point
Copy the full SHA c13fdb8View commit details -
tc-build: Ditch os / os.path for pathlib wherever possible
We want to avoid converting between PosixPath and str implicity because prior to Python 3.6, many of the os methods wouldn't accept it, resulting in a nice stacktrace (this one is from Debian's Python 3.5.3): Traceback (most recent call last): File "./build-llvm.py", line 252, in <module> main() File "./build-llvm.py", line 245, in main fetch_llvm_binutils(root, not args.no_pull, args.branch) File "./build-llvm.py", line 156, in fetch_llvm_binutils subprocess.run(["git", "clone", "-b", branch, "git://github.com/llvm/llvm-project", p], check=True) File "/usr/lib/python3.5/subprocess.py", line 383, in run with Popen(*popenargs, **kwargs) as process: File "/usr/lib/python3.5/subprocess.py", line 676, in __init__ restore_signals, start_new_session) File "/usr/lib/python3.5/subprocess.py", line 1221, in _execute_child restore_signals, start_new_session, preexec_fn) TypeError: Can't convert 'PosixPath' object to str implicitly Pathlib has most of what we need and we can use the as_posix method to get a stirng version of the path whenever we have to have it. Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ea718e9 - Browse repository at this point
Copy the full SHA ea718e9View commit details -
utils.py: Don't use colorama, just print the raw escape codes
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3984ecb - Browse repository at this point
Copy the full SHA 3984ecbView commit details -
build-llvm.py: Implement clang_version check
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for bc86c90 - Browse repository at this point
Copy the full SHA bc86c90View commit details -
build-llvm.py: Fix help text formatting
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 33dd379 - Browse repository at this point
Copy the full SHA 33dd379View commit details -
build-llvm.py: Properly handle '-I' relative paths
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 370f6b2 - Browse repository at this point
Copy the full SHA 370f6b2View commit details -
build-llvm.py: Don't print out header if '-n' was supplied
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 5c7f08a - Browse repository at this point
Copy the full SHA 5c7f08aView commit details -
build-binutils.py: Improve path handling
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 38a1880 - Browse repository at this point
Copy the full SHA 38a1880View commit details -
build-binutils.py: Finish implementing the rest of the script
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 445a931 - Browse repository at this point
Copy the full SHA 445a931View commit details -
build-binutils.py: Fix shebang
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for d54a7e0 - Browse repository at this point
Copy the full SHA d54a7e0View commit details -
tc-build: Add header comments and LICENSE file
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 75385f3 - Browse repository at this point
Copy the full SHA 75385f3View commit details
Commits on Apr 17, 2019
-
build-binutils.py: Fix powerpc64le tuple
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for b6a1476 - Browse repository at this point
Copy the full SHA b6a1476View commit details -
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1cc5af0 - Browse repository at this point
Copy the full SHA 1cc5af0View commit details -
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6c70a32 - Browse repository at this point
Copy the full SHA 6c70a32View commit details -
build-llvm.py: Add final installation information
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 40228bf - Browse repository at this point
Copy the full SHA 40228bfView commit details -
utils.py: Remove blank print lines
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e37d635 - Browse repository at this point
Copy the full SHA e37d635View commit details -
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 4be375a - Browse repository at this point
Copy the full SHA 4be375aView commit details -
tc-build: Format using yapf using Google's style
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 02f5492 - Browse repository at this point
Copy the full SHA 02f5492View commit details -
utils.py: Remove unused exports
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 5bc5437 - Browse repository at this point
Copy the full SHA 5bc5437View commit details -
build-llvm.py: Remove unused import
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ce779fb - Browse repository at this point
Copy the full SHA ce779fbView commit details -
build-llvm.py: Wrap long comment
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 881946f - Browse repository at this point
Copy the full SHA 881946fView commit details -
utils.py: Fix weird linting with a variable
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 8ba8685 - Browse repository at this point
Copy the full SHA 8ba8685View commit details -
build-binutils.py: Improve host target handling
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 57e44fc - Browse repository at this point
Copy the full SHA 57e44fcView commit details -
build-binutils.py: Improve help text slightly
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for c0bf810 - Browse repository at this point
Copy the full SHA c0bf810View commit details -
tc-build: Dynamically hide binutils folder
As we upgrade versions, we won't have to update the root .gitignore file. Abstract gitignore create function accordingly. Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for f7466ad - Browse repository at this point
Copy the full SHA f7466adView commit details -
build-binutils.py: Remove hyphens from target checks in invoke_configure
Also, use the full x86_64 target. Suggested-by: Harsh Shandilya <msfjarvis@gmail.com> Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 434d9d6 - Browse repository at this point
Copy the full SHA 434d9d6View commit details -
Suggested-by: Harsh Shandilya <msfjarvis@gmail.com> Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 71b3f36 - Browse repository at this point
Copy the full SHA 71b3f36View commit details -
github: Add bug report issue template
Suggested-by: Harsh Shandilya <msfjarvis@gmail.com> Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 0f3395f - Browse repository at this point
Copy the full SHA 0f3395fView commit details -
Rename functions based on review comments
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
Harsh Shandilya committedApr 17, 2019 Configuration menu - View commit details
-
Copy full SHA for 687574f - Browse repository at this point
Copy the full SHA 687574fView commit details -
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
Harsh Shandilya committedApr 17, 2019 Configuration menu - View commit details
-
Copy full SHA for 6cdc0d1 - Browse repository at this point
Copy the full SHA 6cdc0d1View commit details -
build-binutils: Break down if-else ladder
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
Harsh Shandilya committedApr 17, 2019 Configuration menu - View commit details
-
Copy full SHA for 19016b4 - Browse repository at this point
Copy the full SHA 19016b4View commit details -
Remove license from individual files
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
Harsh Shandilya committedApr 17, 2019 Configuration menu - View commit details
-
Copy full SHA for 6100a73 - Browse repository at this point
Copy the full SHA 6100a73View commit details -
build-llvm: Properly initialize defines dict
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
Harsh Shandilya committedApr 17, 2019 Configuration menu - View commit details
-
Copy full SHA for 18cca8b - Browse repository at this point
Copy the full SHA 18cca8bView commit details -
build-llvm: Additional style fixes
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
Harsh Shandilya committedApr 17, 2019 Configuration menu - View commit details
-
Copy full SHA for 8d0b0da - Browse repository at this point
Copy the full SHA 8d0b0daView commit details -
build-llvm: Suppress referenced-before-assignment errors
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
Harsh Shandilya committedApr 17, 2019 Configuration menu - View commit details
-
Copy full SHA for 38f1c4b - Browse repository at this point
Copy the full SHA 38f1c4bView commit details -
build-llvm: Use upstream Linux clang-version script
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
Harsh Shandilya committedApr 17, 2019 Configuration menu - View commit details
-
Copy full SHA for cc3f7ff - Browse repository at this point
Copy the full SHA cc3f7ffView commit details -
build-binutils: Cleanup target_list population
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
Harsh Shandilya committedApr 17, 2019 Configuration menu - View commit details
-
Copy full SHA for 636d2f6 - Browse repository at this point
Copy the full SHA 636d2f6View commit details -
build-llvm: Convert function comments to docstrings
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
Harsh Shandilya committedApr 17, 2019 Configuration menu - View commit details
-
Copy full SHA for 846e0e8 - Browse repository at this point
Copy the full SHA 846e0e8View commit details -
build-binutils: Convert function comments to docstrings
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
Harsh Shandilya committedApr 17, 2019 Configuration menu - View commit details
-
Copy full SHA for facb853 - Browse repository at this point
Copy the full SHA facb853View commit details -
utils: Convert function comments to docstrings
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
Harsh Shandilya committedApr 17, 2019 Configuration menu - View commit details
-
Copy full SHA for 2a7fe17 - Browse repository at this point
Copy the full SHA 2a7fe17View commit details
Commits on Apr 18, 2019
-
build-binutils: Reformat dictionary init
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for cc8f489 - Browse repository at this point
Copy the full SHA cc8f489View commit details -
build-llvm.py: Add some comments with links for options
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 0358cf1 - Browse repository at this point
Copy the full SHA 0358cf1View commit details -
build-llvm.py: Add missing LLVM_INCLUDE_TESTS value
Fixes: b405c5c ("build-llvm.py: Implement invoke_cmake") Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6bfdb84 - Browse repository at this point
Copy the full SHA 6bfdb84View commit details -
utils: Split out checksum verification into separate function
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3c86b65 - Browse repository at this point
Copy the full SHA 3c86b65View commit details -
build-llvm: Change default install folder to 'build'
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e019b68 - Browse repository at this point
Copy the full SHA e019b68View commit details -
build-binutils: Properly handle --targets
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 0bb8560 - Browse repository at this point
Copy the full SHA 0bb8560View commit details -
build-llvm.py: Add a new line between build duration and installation…
… location Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for a9db8b0 - Browse repository at this point
Copy the full SHA a9db8b0View commit details -
.gitignore: Remove leading slashes
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for fbf2d31 - Browse repository at this point
Copy the full SHA fbf2d31View commit details -
build-llvm.py: Add classes to slim down arguments in invoke_cmake
Also, rename all the folder variables to be clear they are folders Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 60a1367 - Browse repository at this point
Copy the full SHA 60a1367View commit details -
build-llvm.py: Tell YAPF not to try and format the cmake defines
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for dbbece4 - Browse repository at this point
Copy the full SHA dbbece4View commit details
Commits on Apr 19, 2019
-
build-llvm.py: Move dirs assignment closer to use
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 7ab0e7f - Browse repository at this point
Copy the full SHA 7ab0e7fView commit details -
build-llvm.py: Eliminate unnecessary assignment for cc, cxx, and ld
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 367aad7 - Browse repository at this point
Copy the full SHA 367aad7View commit details -
tc-build: Remove unnecessary copyright comments
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for df716ae - Browse repository at this point
Copy the full SHA df716aeView commit details -
utils.py: Further document why create_gitignore exists
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 7e4f9ca - Browse repository at this point
Copy the full SHA 7e4f9caView commit details -
build-llvm.py: Remove explicit 'utf-8' parameter to decode()
This is the default value and it stops YAPF from trying horribly format this line. https://docs.python.org/3/library/stdtypes.html#bytes.decode Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 9ca5833 - Browse repository at this point
Copy the full SHA 9ca5833View commit details -
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 574e851 - Browse repository at this point
Copy the full SHA 574e851View commit details
Commits on Apr 20, 2019
-
build-llvm.py: Use strip() instead of rstrip()
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 990af6d - Browse repository at this point
Copy the full SHA 990af6dView commit details -
build-llvm.py: Use subprocess.run and return returncode directly
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for b58bab0 - Browse repository at this point
Copy the full SHA b58bab0View commit details -
build-llvm.py: Don't use negated branches in check_cc_ld_variables
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3fc3254 - Browse repository at this point
Copy the full SHA 3fc3254View commit details -
utils.py: Use double quotes and add comments explaining escape codes
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ebc14d2 - Browse repository at this point
Copy the full SHA ebc14d2View commit details
Commits on Apr 21, 2019
-
utils.py: Use format specifier in print_header
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for c18e269 - Browse repository at this point
Copy the full SHA c18e269View commit details
Commits on Apr 22, 2019
-
build-binutils.py: Simplify create_targets a bit
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6c49b7a - Browse repository at this point
Copy the full SHA 6c49b7aView commit details -
build-binutils.py: Make targets list a set initially in create_targets
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for aff3e18 - Browse repository at this point
Copy the full SHA aff3e18View commit details -
build-binutils.py: Avoid crash when 'all' is not specified first
$ ./build-binutils.py -t x86_64 all Traceback (most recent call last): File "./build-binutils.py", line 222, in <module> main() File "./build-binutils.py", line 215, in main print(create_targets(targets)) File "./build-binutils.py", line 102, in create_targets targets_set.add(targets_dict[key]) KeyError: 'all' Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 51670aa - Browse repository at this point
Copy the full SHA 51670aaView commit details -
build-binutils.py: Remove duplicate '--target' and '--program-prefix'…
… flags This is handled a few rows down. Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for c912e50 - Browse repository at this point
Copy the full SHA c912e50View commit details -
build-binutils.py: Use '%' operator in invoke_configure
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3d3b6c2 - Browse repository at this point
Copy the full SHA 3d3b6c2View commit details -
build-binutils.py: Make architecture configure flags a dictionary
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 82a437e - Browse repository at this point
Copy the full SHA 82a437eView commit details
Commits on Apr 25, 2019
-
build-llvm.py: Fix running the script outside of the repo
Traceback (most recent call last): File "../build-llvm.py", line 435, in <module> main() File "../build-llvm.py", line 418, in main env_vars = EnvVars(*check_cc_ld_variables()) File "../build-llvm.py", line 209, in check_cc_ld_variables if clang_version(cc) < 30900: File "../build-llvm.py", line 35, in clang_version return int(subprocess.check_output(["./clang-version.sh", cc]).decode()) File "/usr/lib/python3.7/subprocess.py", line 395, in check_output **kwargs).stdout File "/usr/lib/python3.7/subprocess.py", line 472, in run with Popen(*popenargs, **kwargs) as process: File "/usr/lib/python3.7/subprocess.py", line 775, in __init__ restore_signals, start_new_session) File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: './clang-version.sh': './clang-version.sh' Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 5e69eb2 - Browse repository at this point
Copy the full SHA 5e69eb2View commit details
Commits on Apr 26, 2019
-
build-binutils: Correct docstring grammar
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
Harsh Shandilya committedApr 26, 2019 Configuration menu - View commit details
-
Copy full SHA for 0bbcbfa - Browse repository at this point
Copy the full SHA 0bbcbfaView commit details -
build-binutils: Collapse host_arch_target return
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
Harsh Shandilya committedApr 26, 2019 Configuration menu - View commit details
-
Copy full SHA for 7037bc6 - Browse repository at this point
Copy the full SHA 7037bc6View commit details
Commits on Apr 27, 2019
-
build-llvm.py: Avoid crash in clang_version with Python 3.5
Traceback (most recent call last): File "./build-llvm.py", line 436, in <module> main() File "./build-llvm.py", line 419, in main env_vars = EnvVars(*check_cc_ld_variables(root_folder)) File "./build-llvm.py", line 210, in check_cc_ld_variables if clang_version(cc, root_folder) < 30900: File "./build-llvm.py", line 36, in clang_version return int(subprocess.check_output(command).decode()) File "/usr/lib/python3.5/subprocess.py", line 316, in check_output **kwargs).stdout File "/usr/lib/python3.5/subprocess.py", line 383, in run with Popen(*popenargs, **kwargs) as process: File "/usr/lib/python3.5/subprocess.py", line 676, in __init__ restore_signals, start_new_session) File "/usr/lib/python3.5/subprocess.py", line 1205, in _execute_child executable = os.fsencode(executable) File "/usr/lib/python3.5/os.py", line 862, in fsencode raise TypeError("expect bytes or str, not %s" % type(filename).__name__) TypeError: expect bytes or str, not PosixPath Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 08e1c72 - Browse repository at this point
Copy the full SHA 08e1c72View commit details