Skip to content

Don't install cythonize dependencies unless cythonizing#1405

Merged
nilfm99 merged 1 commit intoNetflix:masterfrom
sethk:sethk_makefile
Feb 12, 2025
Merged

Don't install cythonize dependencies unless cythonizing#1405
nilfm99 merged 1 commit intoNetflix:masterfrom
sethk:sethk_makefile

Conversation

@sethk
Copy link
Contributor

@sethk sethk commented Feb 2, 2025

Numpy is not building in my environment, but I should not need to have it if all I want to build is the default libvmaf target.

Additionally:

Instead of using the mtime of the .venv directory as a marker for whether meson and ninja were successfully installed, use their wrapper scripts from .venv/bin.

The $(VENV) target uses set -e and escaped newlines to run all commands in a single shell invocation. Unless these commands are modifying the shell's environment, this is redundant and mimics the way make already works when you put a single command on each line.

Numpy is not building in my environment, but I should not need to have
it if all I want to build is the default libvmaf target.

Additionally:

Instead of using the mtime of the .venv directory as a marker for
whether meson and ninja were successfully installed, use their wrapper
scripts from .venv/bin.

The $(VENV) target uses set -e and escaped newlines to run all commands
in a single shell invocation. Unless these commands are modifying the
shell's environment, this is redundant and mimics the way make already
works when you put a single command on each line.
@nilfm99 nilfm99 merged commit 4db7c0c into Netflix:master Feb 12, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants