-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Adding asmjit #31498
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
Open
das-intensity
wants to merge
1
commit into
conda-forge:main
Choose a base branch
from
das-intensity:asmjit
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Adding asmjit #31498
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| #!/bin/bash | ||
|
|
||
| set -ex | ||
|
|
||
| mkdir build | ||
| cd build | ||
|
|
||
| cmake ${CMAKE_ARGS} \ | ||
| -DCMAKE_BUILD_TYPE=Release \ | ||
| -DCMAKE_INSTALL_PREFIX=$PREFIX \ | ||
| -DCMAKE_INSTALL_LIBDIR=lib \ | ||
| -DASMJIT_STATIC=OFF \ | ||
| -DASMJIT_TEST=ON \ | ||
| -DASMJIT_NO_CUSTOM_FLAGS=OFF \ | ||
| .. | ||
|
|
||
| cmake --build . --config Release --parallel ${CPU_COUNT} | ||
|
|
||
| # Run tests to verify the build | ||
| # This must be done here, because otherwise we need to re-build the lib in test phase, which | ||
| ctest --output-on-failure --verbose | ||
|
|
||
| cmake --install . --config Release |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,58 @@ | ||
| {% set name = "asmjit" %} | ||
| {% set commit_date = "20251012" %} | ||
| {% set commit_hash = "5134d396bd00c1b63259387acdbb12dfdf009f9b" %} | ||
| {% set version = "0.0.0.dev" + commit_date + "+" + commit_hash[:8] %} | ||
|
|
||
|
|
||
| package: | ||
| name: {{ name|lower }} | ||
| version: {{ version }} | ||
|
|
||
| source: | ||
| url: https://github.com/asmjit/asmjit/archive/{{ commit_hash }}.tar.gz | ||
| sha256: 7a138a9715ac52ac9c259818c05fe42dbf19233dbf82188640aaf32259fa1d34 | ||
|
|
||
| build: | ||
| number: 0 | ||
| # TODO attempt to enable aarch64 after feedstock creation | ||
| # This needs c_stdlib_version>-2.28 | ||
| # In staged-recipes .ci_support/linux_aarch64.yaml pins c_stdlib_version=2.17 which fails this build | ||
| skip: true # [aarch64] | ||
| skip: true # [osx] | ||
| skip: true # [win] | ||
|
|
||
| requirements: | ||
| build: | ||
| - {{ compiler('cxx') }} | ||
| - {{ stdlib('c') }} | ||
| - cmake >=3.24 | ||
| - make | ||
|
|
||
| test: | ||
| commands: | ||
| # Verify installed files (tests were run at build time) | ||
| - test -f ${PREFIX}/include/asmjit/asmjit.h | ||
| - test -f ${PREFIX}/lib/libasmjit${SHLIB_EXT} | ||
|
|
||
| about: | ||
| home: https://asmjit.com | ||
| summary: Low-latency machine code generation library | ||
| description: | | ||
| AsmJit is a lightweight library for machine code generation written in C++ language. | ||
| It can generate machine code for X86, X64, and ARM architectures with a focus on | ||
| low-latency code generation and JIT compilation. AsmJit provides: | ||
| - Complete x86/x64 instruction set with AVX-512 and AMX support | ||
| - Complete AArch64 instruction set including SVE/SVE2 | ||
| - Built-in CPU detection | ||
| - Advanced instruction validation | ||
| - Logging and error handling | ||
| - Virtual memory management | ||
| - Code generation performance comparable to hand-written assembly | ||
| license: Zlib | ||
| license_file: LICENSE.md | ||
| doc_url: https://asmjit.com/doc/index.html | ||
| dev_url: https://github.com/asmjit/asmjit | ||
|
|
||
| extra: | ||
| recipe-maintainers: | ||
| - das-intensity | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Is there an upstream tag or the possibility to get upstream to tag a release?
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.
Nope, no releases or even tags https://github.com/asmjit/asmjit/tags
Unlikely per this: