Skip to content

Commit

Permalink
bump julia version (#577)
Browse files Browse the repository at this point in the history
* bump julia version

Signed-off-by: Andrey Parfenov <a1994ndrey@gmail.com>
  • Loading branch information
Andrey1994 committed Nov 5, 2022
1 parent 5ddb780 commit 28cf957
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 23 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/valgrind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,3 @@ jobs:
run: valgrind --error-exitcode=1 --track-origins=yes --leak-check=full $GITHUB_WORKSPACE/cpp_package/examples/signal_processing/build/band_power
env:
LD_LIBRARY_PATH: $GITHUB_WORKSPACE/installed/lib
- name: Multiple Streamers
run: valgrind --error-exitcode=1 --track-origins=yes --leak-check=full $GITHUB_WORKSPACE/cpp_package/examples/get_data/build/multiple_streamers
env:
LD_LIBRARY_PATH: $GITHUB_WORKSPACE/installed/lib
- name: Playback board
run: valgrind --error-exitcode=1 --track-origins=yes --leak-check=full $GITHUB_WORKSPACE/cpp_package/examples/get_data/build/brainflow_get_data --board-id -3 --master-board -1 --file streamer_default_1.csv --file-aux streamer_aux_2.csv
env:
LD_LIBRARY_PATH: $GITHUB_WORKSPACE/installed/lib
16 changes: 6 additions & 10 deletions Docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,18 @@ ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get -qq update && \
apt-get install -yqq dirmngr gnupg apt-transport-https ca-certificates software-properties-common && \
apt-add-repository ppa:apt-fast/stable -y && \
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9 && \
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF && \
echo "deb https://cloud.r-project.org/bin/linux/ubuntu focal-cran40/" | tee /etc/apt/sources.list.d/r-base.list && \
echo "deb https://download.mono-project.com/repo/ubuntu vs-bionic main" | tee /etc/apt/sources.list.d/mono-official-vs.list && \
apt-get -qq update && \
apt-get -yqq install apt-fast && \
echo debconf apt-fast/maxdownloads string 16 | debconf-set-selections && \
echo debconf apt-fast/dlflag boolean true | debconf-set-selections && \
echo debconf apt-fast/aptmanager string apt-get | debconf-set-selections && \
apt-fast -yqq upgrade
apt-get -qq update
# Installing Dependencies
RUN apt-fast -yqq install python3 python3-pip python3-venv openjdk-13-jdk git curl wget build-essential cmake python3-jira r-base rustc cargo nuget nuget mono-devel mono-complete monodevelop libxml2-dev libbluetooth-dev libdbus-1-dev
RUN apt-get install -yqq python3 python3-pip python3-venv openjdk-13-jdk git curl wget build-essential python3-jira r-base rustc cargo nuget nuget mono-devel mono-complete monodevelop libxml2-dev libbluetooth-dev libdbus-1-dev
RUN mkdir -p /root/local/bin

WORKDIR /root/local/bin
# install latest cmake
RUN mkdir -p /opt/cmake && wget https://github.com/Kitware/CMake/releases/download/v3.24.3/cmake-3.24.3-linux-x86_64.sh && sh cmake-3.24.3-linux-x86_64.sh --prefix=/opt/cmake --skip-license
ENV PATH=/opt/cmake/bin/:$PATH
# Installing Maven and Julia
RUN curl "https://miroir.univ-lorraine.fr/apache/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz" -o maven.tar.gz
RUN mkdir -p maven
Expand All @@ -29,7 +25,7 @@ RUN export PATH=$PATH:/root/local/bin/maven/apache-maven-3.6.3/bin
RUN wget "https://julialang-s3.julialang.org/bin/linux/x64/1.5/julia-1.5.3-linux-x86_64.tar.gz"
RUN mkdir -p julia
RUN tar xf julia-1.5.3-linux-x86_64.tar.gz -C ./julia
RUN export PATH=$PATH:/root/local/bin/julia/julia-1.5.3/bin
ENV PATH=$PATH:/root/local/bin/julia/julia-1.5.3/bin

# Install useful python packages not required by BrainFlow
RUN python3 -m pip install scipy pandas matplotlib mne jupyterlab notebook opencv-python pyriemann
Expand Down
6 changes: 3 additions & 3 deletions julia_package/brainflow/Artifacts.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[brainflow]
git-tree-sha1 = "5b2115ab73bd297b0833ee3cb1cbda5a09a96097"
git-tree-sha1 = "5d21de2f86cb47c0d59f827dd19fc83916db3b56"
lazy = true

[[brainflow.download]]
sha256 = "be27b91c53cf45176a9b281f2bf5e9404507ded2a6f17a0c21ec1a4326e9f6b8"
url = "https://github.com/brainflow-dev/brainflow/releases/download/5.2.1/compiled_libs.tar"
sha256 = "3d8c14632dec28ec1bc5083b5f86fa56dddf46e07fad7bce98c2a4ef3e5515a9"
url = "https://github.com/brainflow-dev/brainflow/releases/download/5.4.0/compiled_libs.tar"
2 changes: 1 addition & 1 deletion julia_package/brainflow/Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "BrainFlow"
uuid = "abd5acf9-0fc9-4730-984d-e27a37823580"
authors = ["Andrey1994 <a1994ndrey@gmail.com>"]
version = "5.2.1"
version = "5.4.0"

[deps]
JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
Expand Down
2 changes: 1 addition & 1 deletion julia_package/brainflow/src/brainflow_url.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# TODO: automatically generate by brainflow CICD
function brainflow_url()
url = "https://github.com/brainflow-dev/brainflow/releases/download/5.2.1/compiled_libs.tar"
url = "https://github.com/brainflow-dev/brainflow/releases/download/5.4.0/compiled_libs.tar"
return url
end

2 comments on commit 28cf957

@Andrey1994
Copy link
Member Author

Choose a reason for hiding this comment

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

@JuliaRegistrator register branch=master subdir=julia_package/brainflow

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

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

Registration pull request created: JuliaRegistries/General/71686

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a brainflow-v5.4.0 -m "<description of version>" 28cf957a77ff08de08746a9da9ea2451c126dc16
git push origin brainflow-v5.4.0

Also, note the warning: Version 5.4.0 skips over 5.3.0
This can be safely ignored. However, if you want to fix this you can do so. Call register() again after making the fix. This will update the Pull request.

Please sign in to comment.