-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
remove native nasm #6263
base: master
Are you sure you want to change the base?
remove native nasm #6263
Conversation
- remove native nasm, it is a prerequisite in the dev. environment since update to debian 12 - remove native yasm - update related Makefiles
This reverts commit 2c4a9cb.
- change affected packages to trigger build
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Beside possible issue found with openh264
that your change brought to light, LGTM.
NASM_BINARY = $(shell which nasm) | ||
ifeq ($(NASM_BINARY),) | ||
$(error nasm not found. Please install NASM assembler) | ||
endif | ||
ENV += AS=$(NASM_BINARY) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is odd, the meson build system is probably cleaver enough to understand that AS=nasm
isn't applicable other than on x86_64
. But really there should be a pre-validation for x64 arch bfore this, like with other use-cases, as otherwise AS
for all archs becomes superseeded with this irrelevant AS value.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found another issue in cross/zstd with ninja compile
When CMAKE_USE_NASM = 1
is not defined it uses nasm to create huf_decompress_amd64.S.o
, but if it is defined, it uses gcc to create the file.
without CMAKE_USE_NASM = 1
[24/103] Building ASM object lib/CMakeFiles/libzstd_shared.dir/spksrc/cross/zstd-1.5.6_cmake/work-x64-7.1/zstd-1.5.6/lib/decompress/huf_decompress_amd64.S.o
with CMAKE_USE_NASM = 1
[24/103] Building C object lib/CMakeFiles/libzstd_shared.dir/spksrc/cross/zstd-1.5.6_cmake_nasm/work-x64-7.1/zstd-1.5.6/lib/decompress/huf_decompress_amd64.S.o
Description
Fixes #
Affected Libraries
Direct dependencies
Further findings
Affected Packages
By direct dependencies
Checklist
all-supported
completed successfullyType of change