Skip to content

[MAINT] Add conda-recipe for conda-forge only dpctl builds - #2367

Open
ndgrigorian wants to merge 1 commit into
masterfrom
add-conda-forge-only-ci-tests
Open

[MAINT] Add conda-recipe for conda-forge only dpctl builds#2367
ndgrigorian wants to merge 1 commit into
masterfrom
add-conda-forge-only-ci-tests

Conversation

@ndgrigorian

Copy link
Copy Markdown
Collaborator

This PR proposes adding a workflow for conda-forge builds of the project, which test that the Conda packages for the compiler dependencies (and NumPy) brought in purely from conda-forge work with dpctl

  • Have you provided a meaningful PR description?
  • Have you added a test, reproducer or referred to an issue with a reproducer?
  • Have you tested your changes locally for CPU and GPU devices?
  • Have you made sure that new changes do not introduce compiler warnings?
  • Have you checked performance impact of proposed changes?
  • Have you added documentation for your changes, if necessary?
  • Have you added your changes to the changelog?
  • If this PR is a work in progress, are you opening the PR as a draft?

aligned with dpctl-feedstock on conda-forge's recipe and scripts
@coveralls

Copy link
Copy Markdown
Collaborator

Coverage Status

coverage: 74.462%. remained the same — add-conda-forge-only-ci-tests into master

@ndgrigorian ndgrigorian changed the title Add conda-recipe-cf [MAINT] Add conda-recipe for conda-forge only dpctl builds Aug 19, 2026
Comment thread conda-recipe-cf/meta.yaml
# let the public CI build without IPO, which needs more resources than the
# GitHub Actions runners provide
script_env:
- OVERRIDE_INTEL_IPO # [win]

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are not using that in the feedstock. And I believe we probably no need that for dpctl build anymore, since it's lightweighted now.

Comment thread conda-recipe-cf/bld.bat
--no-index ^
--prefix %PREFIX% ^
-vv
if %ERRORLEVEL% neq 0 exit 1

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here the check is effectively dead — it always sees the pre-loop errorlevel. To actually catch a failing pip install inside the block we need:

Suggested change
if %ERRORLEVEL% neq 0 exit 1
if errorlevel 1 exit 1

Probably needs to be backported to the feedstock also.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While at top level, both work. if %ERRORLEVEL% neq 0 is actually more precise than if errorlevel 1 because the latter is a >= test and also matches unusual negative codes differently. This is why the run_test.bat scripts (all top-level statements) are fine as written.

cxx_compiler: # [linux]
- gxx # [linux]
cxx_compiler_version: # [linux]
- '14' # [linux]

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to match the feedstock

Suggested change
- '14' # [linux]
- '15' # [linux]

@github-actions

Copy link
Copy Markdown

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.

3 participants