forked from ingonyama-zk/icicle
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from ImmanuelSegol/bw6/gowrapper
bw6761 golang wrapper
- Loading branch information
Showing
46 changed files
with
4,324 additions
and
304 deletions.
There are no files selected for viewing
This file contains 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,14 @@ | ||
golang: | ||
- goicicle/**/*.go' | ||
- go.mod | ||
rust: | ||
- src/**/*.rs | ||
- build.rs | ||
- Cargo.toml | ||
cpp: | ||
- icicle/**/*.cu | ||
- icicle/**/*.cuh | ||
- icicle/**/*.cpp | ||
- icicle/**/*.hpp | ||
- icicle/**/*.c | ||
- icicle/**/*.h |
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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,28 @@ | ||
# Use the specified base image | ||
FROM nvidia/cuda:12.0.0-devel-ubuntu22.04 | ||
|
||
# Update and install dependencies | ||
RUN apt-get update && apt-get install -y \ | ||
cmake \ | ||
protobuf-compiler \ | ||
curl \ | ||
build-essential \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# Install Rust | ||
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y | ||
ENV PATH="/root/.cargo/bin:${PATH}" | ||
|
||
# Install Golang | ||
ENV GOLANG_VERSION 1.21.1 | ||
RUN curl -L https://golang.org/dl/go${GOLANG_VERSION}.linux-amd64.tar.gz | tar -xz -C /usr/local | ||
ENV PATH="/usr/local/go/bin:${PATH}" | ||
|
||
# Set the working directory in the container | ||
WORKDIR /app | ||
|
||
# Copy the content of the local directory to the working directory | ||
COPY . . | ||
|
||
# Specify the default command for the container | ||
CMD ["/bin/bash"] |
Oops, something went wrong.