Conversation
|
Outputs sizes comparison # V3.5 shared lib (8+10+12 bits) and CLI and shared HDR10+ lib
$ nix path-info -sSh /nix/store/xvcw5hw5h77r7ycjwmy7nivk484s2f5z-x265-3.5
/nix/store/xvcw5hw5h77r7ycjwmy7nivk484s2f5z-x265-3.5 20.7M 58.3M
# V3.5 headers and pkgconfig
$ nix path-info -sSh /nix/store/l989a0vjwwywgs6ryxxmbw7h7rxaya8p-x265-3.5-dev
/nix/store/l989a0vjwwywgs6ryxxmbw7h7rxaya8p-x265-3.5-dev 109.4K 58.4M# V3.4 shared lib and CLI without HDR10+ lib
$ nix path-info -sSh /nix/store/54klpxlyhq41d64ylfpmywhxrc13z6k7-x265-3.4
/nix/store/54klpxlyhq41d64ylfpmywhxrc13z6k7-x265-3.4 20.6M 58.2M
# plus static 10bits lib and static HDR10 and duplicated headers
$ nix path-info -sSh /nix/store/y7vipkdwgmj0c3r2fgw87kvf3118p9df-libx265-10-3.4/
/nix/store/y7vipkdwgmj0c3r2fgw87kvf3118p9df-libx265-10-3.4 9.1M 9.1M
# plus static 12bits lib and duplicated headers
$ nix path-info -sSh /nix/store/7nc5jhi6jp33bxg52v48hz31z6dx7d2c-libx265-12-3.4/
/nix/store/7nc5jhi6jp33bxg52v48hz31z6dx7d2c-libx265-12-3.4 9.0M 9.0M |
c0bw3b
left a comment
There was a problem hiding this comment.
Successfully rebuilt most packages directly depending on x265 with
$ nixpkgs-review pr 154347 -p x265 -p ffmpeg -p libheif -p avidemux -p handbrake -p digikam
Result of nixpkgs-review pr 154347 run on x86_64-linux 1
6 packages built:
- avidemux
- digikam
- ffmpeg
- handbrake
- libheif
- x265
avidemux runs fine
|
@GrahamcOfBorg test handbrake |
|
Rechecking Darwin platforms |
darwin is currently very broken on staging. |
* Lib update * Refactor to eliminate code duplication and crust * Don't use mkDerivation to build 10bits and 12bits static libs as we don't want to install them in the nix store forever (only needed during the build) * Enable check phase when possible * Split headers into a "dev" output * Use SPDX 3.0 license identifier
|
This broke Changing |
|
I suspect that the shebang needs to be fixed of |
|
The conditions to build it are a bit screwy: if(ENABLE_ASSEMBLY AND NOT XCODE)
option(ENABLE_TESTS "Enable Unit Tests" OFF)
if(ENABLE_TESTS)
add_subdirectory(test)
endif()
endif()
if(ARM OR CROSS_COMPILE_ARM)
option(ENABLE_ASSEMBLY "Enable use of assembly coded primitives" ON)But that is never set because (On M1 Once added: set(ARM_ALIASES armv6l armv6l armv7l armv7a aarch64 arm64)This causes a whole bunch of build errors like so: |
Temporary to not break its dependencies. See NixOS#154347 (comment)
|
Looking at Homebrew formula, they don't use nasm on aarch64 Darwin: Which means no ASM on this platform, which means there is nothing to test. So I believe simply disabling the unit tests on this platform as done in vs49688@9b93014 in indeed the valid approach. |
Motivation for this change
Lib update
Refactor to eliminate code duplication and crust
Don't use mkDerivation to build 10bits and 12bits static libs as we don't want
to install them in the nix store forever (only needed during the build)
Enable check phase when possible
Split headers into a "dev" output
Use SPDX 3.0 license identifier
Close #149817
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)nixos/doc/manual/md-to-db.shto update generated release notes