Skip to content

Install drjit-core headers without JIT - #527

Open
jeongseok-meta wants to merge 1 commit into
mitsuba-renderer:masterfrom
jeongseok-meta:install-drjit-core-headers
Open

Install drjit-core headers without JIT#527
jeongseok-meta wants to merge 1 commit into
mitsuba-renderer:masterfrom
jeongseok-meta:install-drjit-core-headers

Conversation

@jeongseok-meta

@jeongseok-meta jeongseok-meta commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Motivation

Header-only Dr.Jit installations currently omit the public drjit-core headers when every JIT backend is disabled. Public Dr.Jit headers include files such as drjit-core/half.h and drjit-core/jit.h, so the installed header set is incomplete in that configuration.

The missing-target guard and C++ library destinations are intentionally handled separately in #519. This PR corresponds to conda-forge's 0001-Install-drjit-core-headers.patch. Once this change is included in an upstream release, the feedstock can remove that patch.

Changes

  • Install the public drjit-core headers whenever the top-level Dr.Jit project is installed.
  • Keep nanothread headers conditional on JIT support.

This PR does not change target installation or library destinations; those changes remain in #519.

Testing

  • git diff --check
  • No-JIT/no-Python configure, build, and install with temporary interface targets supplied through CMAKE_PROJECT_INCLUDE to isolate the unrelated missing-target issue handled by Fix CMake installs for C++-only builds #519.
  • The 85b86aa8 negative control omitted include/drjit-core/half.h; this branch installed include/drjit-core/half.h and include/drjit-core/macros.h.
  • An external find_package(drjit) consumer built and passed the installed-header half_smoke test.

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.

1 participant