Skip to content

Commit 754d456

Browse files
committed
Fix swift language
1 parent 0060dba commit 754d456

File tree

1 file changed

+6
-0
lines changed
  • sql/files/defaultdata/swift

1 file changed

+6
-0
lines changed

sql/files/defaultdata/swift/run

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ fi
5050
# Add -DONLINE_JUDGE or -DDOMJUDGE below if you want it make easier for teams
5151
# to do local debugging.
5252

53+
# Compilation needs to store temporary files. The current workdirectory is not
54+
# available during the submission run. The `HOME`
55+
# is needed for the linker to work.
56+
export TMPDIR="$PWD"
57+
export HOME="$PWD"
58+
5359
# -O: Optimizations (default for speed)
5460
# -static-executable: Statically link the executable
5561
# -static-stdlib: Statically link the Swift standard library

0 commit comments

Comments
 (0)