Comments (6)
We could also add a
starts_with
filter to minijinja :)
There is a startingwith
test in minijinja:
build_platform is startingwith('linux')
from rattler-build.
I'll take a look!
from rattler-build.
OK, actually there is no bug because the if: linux
is for the target_platform
(emscripten) and not the build_platform
.
You should be able to fix the issue by using build_platform == "linux-64"
from rattler-build.
It's a little confusing, but it's also consistent with the rest of the recipe, so not sure what to do here. Ideas welcome!
It also makes me realize that it's not easy to check wether the build_platform
is unix, or linux. Maybe we should add is_linux(build_platform)
, or is_unix(build_platform)
functions ...
from rattler-build.
We could also add a starts_with
filter to minijinja :)
from rattler-build.
OK, actually there is no bug because the
if: linux
is for thetarget_platform
(emscripten) and not thebuild_platform
.You should be able to fix the issue by using
build_platform == "linux-64"
OK, that makes sense of course! Clearly I'm not yet used to the test section having a build section as well! 😅
+1 to the other jinja enhancements too!
from rattler-build.
Related Issues (20)
- various issues in chipstar-forge/llvm building
- various files which are supposedly installed into the package are not visible when testing the package HOT 9
- cannot symlink between packages HOT 1
- Disallow `-` in context variable names HOT 1
- give more information which recipe failed to parse when using `--recipe-dir`
- rattler-build panicked when trying to parse a certain patch. HOT 1
- --skip-exisiting + building package but failing tests behaviour
- Generate Recipe for Conda Package HOT 4
- v0.19.0 lack generate-recipe subcommand HOT 3
- Failed on `pixi add mini-racer --pypi` , but pip install success HOT 1
- Building from local sources causes two macosx wheels to be produced HOT 5
- Do not produce broken packages when interrupted
- Load needed variant values before first render
- feat: Implement additional `build="feat_*"` argument for pin functions
- Implement `--extra-meta` HOT 1
- Add CHANGELOG.md
- Option to continue building on failure when using --recipe-dir
- stuck on solving with one dependency version but not the other HOT 1
- How to setup for local development
- NumPy variants should not influence `noarch` packages HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rattler-build.