summaryrefslogtreecommitdiffstats
path: root/make/configure.py
Commit message (Collapse)AuthorAgeFilesLines
...
* configure: make sure numa is only enabled on linuxJohn Stebbins2019-04-151-2/+3
|
* configure: move init of HostTuple after parsing crossJohn Stebbins2019-04-151-8/+9
|
* configure: use stricter 'is not None'John Stebbins2019-04-151-2/+2
|
* configure: initialize host_tuple with crossJohn Stebbins2019-04-151-11/+14
| | | | Must be done before createCLI
* configure: Fix host vs build specsJohn Stebbins2019-04-151-95/+123
| | | | | | Fixes the notation internally in configure.py. Does not yet fix the notation written to GNUMakefile or m4 files since that requires modification of multiple files. Save this for the next pass.
* configure: add PkgConfigProbe and ChkLib actionsJohn Stebbins2019-04-151-0/+102
| | | | | | | | | PkgConfigProbe checks for the existence of a lib using pkg-config. ChkLib tries to verify a lib with PlkConfigProbe, then tries with LDProbe. Use ChkLib to verify existence of libnuma when configured and fail if not found
* configure: add option to enable/disable libnumaJohn Stebbins2019-04-151-0/+5
| | | | | It is not supported or not useful in some Linux environments, so allow disabling it.
* make: Tweak configure summary language for consistency.Bradley Sepos2019-04-131-19/+14
|
* make: Tweak configure.py output language.Bradley Sepos2019-04-131-3/+3
| | | | Internally, configure.py may use the terms host and build somewhat inappropriately, but that does not mean we should print such ambiguity.
* make: Reflect FFmpeg AAC required on some platforms in help.Bradley Sepos2019-04-131-2/+6
|
* make: Fix initialization of minver in configure.py.Bradley Sepos2019-04-131-2/+2
|
* make: Remove SelectTool class from configure.py.Bradley Sepos2019-04-131-75/+0
| | | | Has not been in use for a long time.
* make: Remove last optparse import in configure.py.Bradley Sepos2019-04-131-1/+0
| | | | Now fully transitioned to argparse.
* make: Fix configure --minver argument showing for cross.Bradley Sepos2019-04-131-3/+2
|
* make: Rerun cross tools probe before creating CLI help.Bradley Sepos2019-04-131-6/+6
|
* make: Improve handling of cross argument in configure.py.Bradley Sepos2019-04-131-3/+4
|
* make: Fix configure.py conf args for reconfigure.Bradley Sepos2019-04-131-29/+6
|
* make: Tidy up configure help.Bradley Sepos2019-04-131-3/+3
| | | | Should no longer need to specify platform in the help, since the help now only shows options available for the specified build.
* make: Fix configure and Xcode where cross compiling.Bradley Sepos2019-04-131-12/+13
|
* configure: fix argparse callbacksJohn Stebbins2019-04-131-18/+35
| | | | | argparse does not have callbacks like optparse did, but a custom action can be used to perform the callback.
* configure: fix parsing debug and optimize optionsJohn Stebbins2019-04-131-2/+2
| | | | | required and optional arguments to an option requires setting nargs in add_argument
* make: Further improvements to feature enable/disable in configure.py.Bradley Sepos2019-04-131-110/+126
| | | | Converts most of configure.py from optparse (deprecated) to argparse. Better fixes #1459.
* make: Require FFmpeg AAC on Linux and Windows.Bradley Sepos2019-04-121-2/+3
| | | | FFmpeg AAC was originally disabled when FDK enabled, but this did not seem to work correctly. When I "fixed" the issuein 7b035348b714f945cff1ae2940332960a8eb0f00, WinGUI started throwing exceptions. This should fix the problem for now.
* make: Disable features on unsupported platforms in configure.py.Bradley Sepos2019-04-041-7/+27
| | | | Fixes #1459.
* contrib: Remove local pthreads-w32 in favor of winpthreads.Bradley Sepos2019-03-311-3/+0
| | | | Cross-compiling for Windows now requires winpthreads which is part of the toolchain provided by scripts/mingw-w64-build, and similar packages provided by Linux distros.
* make: decode bytes objects from subprocess stdout in configure.py Launcher ↵Andrew Brezovsky2019-03-281-0/+2
| | | | | | class, resolves #2011 Signed-off-by: Andrew Brezovsky <[email protected]>
* Fix Py3 compat and logic/syntax in handling version.txtFrederick Ding2019-02-281-2/+3
| | | | | | | | | | | | | | The first fix addresses the problem that readlines() gives back a list of strings, which do not have the `.decode()` method that bytes do. But `_parseSession()` is used both for the bytes output by running `repo-info.sh` and for the strings output by ingesting `version.txt`. So we still need to handle the bytes case. The second fix addresses syntax and logic problems. If a string is not empty, `if self.hash` will check that it's non-empty (I don't think `is not empty` actually works -- it has given me a NameError). And the string comparison should be done by value equality, not reference equality.
* configure: gtk: make: scripts: Make scripts compatible with Python 3.Bradley Sepos2019-02-251-19/+23
|
* configure: Move configured special encoders output before launch output.Bradley Sepos2019-02-251-10/+11
|
* configure: Enable hardware encoders by default on suitable platforms.Bradley Sepos2019-02-241-17/+29
| | | | Print special encoders status at end of configure output, minor cosmetics.
* configure: fix conftest turdsJohn Stebbins2019-01-191-0/+3
|
* configure: fix LDProbe cleanup on mingwJohn Stebbins2019-01-061-1/+5
| | | | | LDProbe tries to delete conftest, but should delete conftest.exe on mingw. So delete *both* in a try-catch block.
* build: Respect CC environment variable on all platforms.Yuichiro NAITO2018-11-261-1/+1
|
* build: Respect CC environment variable on FreeBSD.Yuichiro NAITO2018-11-261-1/+6
| | | | | | | | | | | | Fixes #1674. We use the compiler that CC environment variable indicates. If CC is ommited, use gcc or clang which is installed. If gcc is chosen, we need to add `-Wl,-rpath` option to make runtime linker linking gcc's runtime libraries from installed path. For example, gcc7's runtime libraries are installed in `/usr/local/lib/gcc7` by default. And we also need to link libc++ first to make libc++ initializer is called on runtime.
* build: add 'PYTON.exe' to probed toolsJohn Stebbins2018-11-141-0/+1
| | | | | This records in GNUmakefile what python executable was found by configure.
* build: Allows to use clang/clang++ compiler on FreeBSD.Yuichiro NAITO2018-08-221-1/+1
| | | | | LOCALBASE variable is used to indicate where FreeBSD ports are installed. default is /usr/local.
* build: Fix to not pass --enable-nvenc to FFmpeg configure on FreeBSD.Yuichiro NAITO2018-07-021-1/+1
| | | | Nvenc is not currently supported by Nvidia on FreeBSD. If it becomes supported on FreeBSD, please check nvidia-driver and FFmpeg.
* Add NVEnc encoder. (Round 3) (#1437)Scott2018-06-291-0/+5
| | | | | | Adding the Nvidia NVEnc H.264 and H.265 encoders. Based on Initial work by sgothel --enable-nvenc is the new compile time configure option to enable for builds.
* contrib: make: Remove CMake contrib.Bradley Sepos2018-06-171-10/+1
| | | | Still required, only HandBrake will not build it anymore.
* contrib: make: Remove --enable-local-autotools and --enable-local-pkgconfig.Bradley Sepos2018-06-171-32/+16
| | | | Closes #549.
* contrib: gtk: libhb: make: scripts: Remove yasm contrib.Bradley Sepos2018-06-171-28/+1
|
* build: move --flatpak option into configure "Build Options"John Stebbins2018-06-071-4/+3
|
* contrib: build: Add AMF headers and --enable-vce.Bradley Sepos2018-06-031-0/+4
| | | | #1144.
* libhb: build: README: Replace instances of Libav with FFmpeg.Bradley Sepos2018-05-291-4/+4
|
* contrib: add lzma supportJohn Stebbins2018-05-291-0/+14
| | | | | lzma may be used by the ffmpeg tiff decoder which can be used in matroska files.
* Build: Make --enable-qsv MinGW and Linux only. #1060sr552018-01-231-1/+1
|
* build: Add FreeBSD support.Yuichiro NAITO2018-01-131-5/+15
| | | | Closes #1076.
* build: More robust failure on missing or old nasm.Bradley Sepos2018-01-101-1/+8
| | | | Since Linux and similar use system x264, avoid failure on missing/old nasm, since it should not be needed.
* build: Update configure.py to check for nasm >= 2.13.Bradley Sepos2018-01-101-0/+1
| | | | Required for recent x264. Better to fail here than part-way through a build.
* build: Fix configure to report success when REV=0 in version.txt.Bradley Sepos2017-11-041-1/+1
| | | | Instead make sure we have a possibly sane HASH value.