add JuliaLang - #32
Open
miguelraz wants to merge 6 commits into
Open
Conversation
First step to handle [Add Julia to OmegaUp](omegaup/omegaup#702)
lhchavez
reviewed
Aug 3, 2022
| const DEFAULT_EXTRA_MEMORY_SIZE_IN_BYTES: u64 = 16 * 1024 * 1024; | ||
| const RUBY_EXTRA_MEMORY_SIZE_IN_BYTES: u64 = 56 * 1024 * 1024; | ||
| const GO_EXTRA_MEMORY_SIZE_IN_BYTES: u64 = 512 * 1024 * 1024; | ||
| const JULIA_EXTRA_MEMORY_SIZE_IN_BYTES: u64 = 512 * 1024 * 1024; |
Author
There was a problem hiding this comment.
I just took the largest I saw.
I'm guessing it will need tweaking.
| } | ||
| args::Language::Julia => { | ||
| extra_memory_size_in_bytes = JULIA_EXTRA_MEMORY_SIZE_IN_BYTES; | ||
| seccomp_profile_name = String::from("jl"); |
Member
There was a problem hiding this comment.
seems like the seccomp files are missing from this change! can they be added?
Author
There was a problem hiding this comment.
Sure - I don't know what those are though 😅
Author
|
That part of the build that is failing is due to I didn't know how to work the invocation arguments for the Julia runner, but if I have a file print(parse(Int, readline())and an input file called to run it I would do julia solution.jl < input.txtAnd it would spit out |
Author
|
Bump @lhchavez |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
First step to handle Add Julia to OmegaUp