gnu: x265: Enable assembly on for some arm build phases.
* gnu/packages/video.scm (x265)[arguments]: Enable assembly for armhf-linux. Only disable assembly for aarch64-linux when building the 10-bit or 12-bit libraries.
This commit is contained in:
parent
6f2bdd4e6b
commit
d473d8ebdb
1 changed files with 6 additions and 3 deletions
|
@ -1223,9 +1223,6 @@ on the Invidious instances only as a fallback method.")
|
||||||
#:configure-flags
|
#:configure-flags
|
||||||
;; Ensure position independent code for everyone.
|
;; Ensure position independent code for everyone.
|
||||||
(list "-DENABLE_PIC=TRUE"
|
(list "-DENABLE_PIC=TRUE"
|
||||||
,@(if (target-arm?)
|
|
||||||
'("-DENABLE_ASSEMBLY=OFF")
|
|
||||||
'())
|
|
||||||
(string-append "-DCMAKE_INSTALL_PREFIX="
|
(string-append "-DCMAKE_INSTALL_PREFIX="
|
||||||
(assoc-ref %outputs "out")))
|
(assoc-ref %outputs "out")))
|
||||||
#:phases
|
#:phases
|
||||||
|
@ -1246,6 +1243,9 @@ on the Invidious instances only as a fallback method.")
|
||||||
(with-directory-excursion "../build-12bit"
|
(with-directory-excursion "../build-12bit"
|
||||||
(apply invoke
|
(apply invoke
|
||||||
"cmake" "../source"
|
"cmake" "../source"
|
||||||
|
,@(if (target-aarch64?)
|
||||||
|
'("-DENABLE_ASSEMBLY=OFF")
|
||||||
|
'())
|
||||||
"-DHIGH_BIT_DEPTH=ON"
|
"-DHIGH_BIT_DEPTH=ON"
|
||||||
"-DEXPORT_C_API=OFF"
|
"-DEXPORT_C_API=OFF"
|
||||||
"-DENABLE_CLI=OFF"
|
"-DENABLE_CLI=OFF"
|
||||||
|
@ -1263,6 +1263,9 @@ on the Invidious instances only as a fallback method.")
|
||||||
(with-directory-excursion "../build-10bit"
|
(with-directory-excursion "../build-10bit"
|
||||||
(apply invoke
|
(apply invoke
|
||||||
"cmake" "../source"
|
"cmake" "../source"
|
||||||
|
,@(if (target-aarch64?)
|
||||||
|
'("-DENABLE_ASSEMBLY=OFF")
|
||||||
|
'())
|
||||||
"-DHIGH_BIT_DEPTH=ON"
|
"-DHIGH_BIT_DEPTH=ON"
|
||||||
"-DEXPORT_C_API=OFF"
|
"-DEXPORT_C_API=OFF"
|
||||||
"-DENABLE_CLI=OFF"
|
"-DENABLE_CLI=OFF"
|
||||||
|
|
Reference in a new issue