Skip to content
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

add serial-monitor-rust #4

Merged
merged 62 commits into from
Jan 8, 2025
Merged
Changes from 9 commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
ce3ba0e
add serial-monitor-rust
hacknus Dec 7, 2024
d8b2544
working with rattler-build
hacknus Dec 7, 2024
a2262b0
Merge remote-tracking branch 'origin/main'
hacknus Dec 7, 2024
1e6e480
fix for windows env
hacknus Dec 7, 2024
b15ed18
remove meta.yaml
hacknus Dec 7, 2024
55633e2
bump to 0.3.1
hacknus Dec 8, 2024
c7089f7
bump to 0.3.2, fix
hacknus Dec 10, 2024
ccc9143
trying conda forge
hacknus Dec 10, 2024
ced0e08
fix for macos
hacknus Dec 10, 2024
94dab1e
linux fix
hacknus Dec 10, 2024
7aa0488
linux fix 2
hacknus Dec 10, 2024
00d36df
test again
hacknus Dec 10, 2024
3b7142e
macOS back to PATH override
hacknus Dec 10, 2024
04c3103
windows show target
hacknus Dec 10, 2024
e1b31b2
rustup update win
hacknus Dec 10, 2024
a590925
figure out what kind of rustc is installed
hacknus Dec 10, 2024
b9468a3
show rust version on all platforms
hacknus Dec 10, 2024
57b3a76
linux echo path
hacknus Dec 10, 2024
6598ce9
install rust on windows
hacknus Dec 10, 2024
ebc8b98
install rust on windows
hacknus Dec 10, 2024
9d0754e
install rust on windows again
hacknus Dec 10, 2024
d56b5dd
install rust on windows -y
hacknus Dec 10, 2024
54a8030
install rust on windows separately
hacknus Dec 10, 2024
cbf234d
install rust with conda-forge
hacknus Dec 10, 2024
c1c4fb0
conda not working on windows
hacknus Dec 10, 2024
1090c84
update path in windows
hacknus Dec 10, 2024
365e994
set linker on windows
hacknus Dec 10, 2024
2907c13
check for conda on win
hacknus Dec 11, 2024
bf10f84
set build requirements
hacknus Dec 11, 2024
17ea87a
set build requirements 2
hacknus Dec 11, 2024
8af3b8b
set build requirements 2
hacknus Dec 11, 2024
6a3490b
on linux, create conda env
hacknus Dec 11, 2024
b437bdc
requirements back to host
hacknus Dec 11, 2024
28b9889
requirements back to host
hacknus Dec 11, 2024
cbe00d8
move requirements from conda-install to host
hacknus Dec 11, 2024
8f68600
specidy channel
hacknus Dec 11, 2024
73def84
linux fix
hacknus Dec 11, 2024
f15461c
windows try update rust
hacknus Dec 11, 2024
1f4862b
test 0.3.1 on windows (compatible with old rust version)
hacknus Dec 11, 2024
4f7aee9
test 0.3.0 on windows (compatible with old rust version)
hacknus Dec 11, 2024
e545d43
specify rust version
hacknus Dec 11, 2024
384b5a9
rust 1.82
hacknus Dec 11, 2024
178e3ae
only install rust 1.82 in build env
hacknus Dec 11, 2024
2fa5c85
show linker
hacknus Dec 11, 2024
7d29ac6
get VC dir
hacknus Dec 11, 2024
5c46091
rustup
hacknus Dec 11, 2024
8b16faf
add compiler to build req
hacknus Dec 11, 2024
49d525a
rust=1.82 win
hacknus Dec 11, 2024
7095348
rust=1.82 win host and vs_win=2022.12
hacknus Dec 11, 2024
9f633d6
try this
hacknus Dec 11, 2024
8d1451b
test for macos
hacknus Dec 11, 2024
e946cdb
removing additional installs for macos
hacknus Dec 11, 2024
0c4ecb1
clean up
hacknus Dec 11, 2024
f4f7bb8
add minimum osx version back again
hacknus Dec 11, 2024
afdc7a7
check if file exists after build, as in example
hacknus Dec 12, 2024
857cd18
better docs
hacknus Dec 12, 2024
4f6f45c
show contents on win
hacknus Dec 12, 2024
ad791ca
show contents on win
hacknus Dec 12, 2024
a021425
no ls bin in build
hacknus Dec 12, 2024
2be82ab
remove
hacknus Dec 12, 2024
30d3528
bump to 0.3.3
hacknus Dec 22, 2024
7f0e548
Merge branch 'prefix-dev:main' into main
hacknus Jan 8, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions recipes/serial-monitor-rust/recipe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
context:
version: "0.3.2"

package:
name: serial-monitor-rust
version: ${{ version }}

source:
- url: https://github.com/hacknus/serial-monitor-rust/archive/refs/tags/v${{ version }}.tar.gz
sha256: 7d9e7f19f3dc86f74852dd0129dcb31feb08a3411269d337dba3463a4f479f01

build:
# build numbers can be set arbitrarily
number: 0
script:
- if: osx
then:
- export PATH="/usr/bin:$PATH" # Ensure that system Clang is used, not a potentially conflicting Homebrew version
hacknus marked this conversation as resolved.
Show resolved Hide resolved
- export MACOSX_DEPLOYMENT_TARGET=10.15 # or the correct macOS version
- export CC=/usr/bin/clang
hacknus marked this conversation as resolved.
Show resolved Hide resolved
- export CXX=/usr/bin/clang++
- cargo-bundle-licenses --format yaml --output ${SRC_DIR}/THIRDPARTY.yml
- cargo install --bins --root ${PREFIX} --path .
- if: linux
then:
- conda install -c conda-forge \
libclang libgtk-3 libxcb libxkbcommon openssl libudev -y
- cargo-bundle-licenses --format yaml --output ${SRC_DIR}/THIRDPARTY.yml
- cargo install --bins --root ${PREFIX} --path .
- if: win
then:
- cargo-bundle-licenses --format yaml --output ${SRC_DIR}/THIRDPARTY.yml
- cargo install --bins --root ${PREFIX} --path .

requirements:
host:
- ${{ compiler('rust') }}
hacknus marked this conversation as resolved.
Show resolved Hide resolved
- cargo-bundle-licenses

run:

about:
repository: https://github.com/hacknus/serial-monitor-rust
license: GPL-3.0
summary: A cross-platform serial monitor/plotter written entirely in rust.
extra:
recipe-maintainers:
- hacknus
Loading