Skip to content

Commit

Permalink
update gcc version + set libatomic.so
Browse files Browse the repository at this point in the history
Signed-off-by: poorndm <[email protected]>
  • Loading branch information
poorndm committed Aug 23, 2024
1 parent 1175a66 commit 52e9b38
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion config/software/gcc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

# do_not_auto_update
name "gcc"
default_version "4.9.2"
default_version "7.5.0"

dependency "gmp"
dependency "mpfr"
Expand Down Expand Up @@ -55,6 +55,9 @@
# on any other platforms we may use this with)
# gcc also has issues on a lot of platforms when running a multithreaded job,
# so unfortunately we have to build with 1 worker :(
if version.satisfies?(">= 7.5.0")
command "cd #{install_dir}/embedded/lib && ln -s libatomic.so.1.2.0 libatomic.so", env: env
end
make env: env, timeout: 14400
make "install", env: env
end

0 comments on commit 52e9b38

Please sign in to comment.