Skip to content

Commit

Permalink
Merge pull request #275 from pehrsoderman/bump-java-version
Browse files Browse the repository at this point in the history
Update languages.yaml
  • Loading branch information
pehrsoderman authored Aug 18, 2024
2 parents b5a5365 + 3fada07 commit e6a48b9
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions problemtools/config/languages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ cpp:
name: 'C++'
priority: 1000
files: '*.cc *.C *.cpp *.cxx *.c++'
compile: '/usr/bin/g++ -g -O2 -std=gnu++23 -static -o {binary} {files}'
compile: '/usr/bin/g++ -g -O2 -std=gnu++23 -static -o {binary} {files} -lrt -Wl,--whole-archive -lpthread -Wl,--no-whole-archive'
run: '{binary}'

csharp:
Expand Down Expand Up @@ -209,27 +209,27 @@ prolog:

# Python2 with shebang comes before default python3.
python2_with_shebang:
name: 'Python 2'
name: 'Python 2 (w/PyPy)'
priority: 860
files: '*.py *.py2'
shebang: '^#!.*python2\b'
compile: '/usr/bin/python2 -m py_compile {files}'
run: '/usr/bin/python2 "{mainfile}"'
compile: '/usr/bin/pypy -m py_compile {files}'
run: '/usr/bin/pypy "{mainfile}"'

python3:
name: 'Python 3'
name: 'Python 3 (w/PyPy3)'
priority: 850
files: '*.py *.py3'
compile: '/usr/bin/python3 -m py_compile {files}'
run: '/usr/bin/python3 "{mainfile}"'
compile: '/usr/bin/pypy3 -m py_compile {files}'
run: '/usr/bin/pypy3 "{mainfile}"'

# Python2 without shebang comes after python3.
python2:
name: 'Python 2'
name: 'Python 2 (w/PyPy)'
priority: 840
files: '*.py2'
compile: '/usr/bin/python2 -m py_compile {files}'
run: '/usr/bin/python2 "{mainfile}"'
compile: '/usr/bin/pypy -m py_compile {files}'
run: '/usr/bin/pypy "{mainfile}"'

ruby:
name: 'Ruby'
Expand Down

0 comments on commit e6a48b9

Please sign in to comment.