Skip to content

Commit

Permalink
[datasets] Fix POJ-104 header concatenation on macOS.
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisCummins authored and bwasti committed Aug 3, 2021
1 parent 489f4d5 commit 2cd74ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler_gym/envs/llvm/datasets/poj104.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def preprocess_poj104_source(src: str) -> str:
header = download(
"https://raw.githubusercontent.com/tekfyl/bits-stdc-.h-for-mac/e1193f4470514d82ea19c3cc1357116fadaa2a4e/stdc%2B%2B.h",
sha256="b4d9b031d56d89a2b58b5ed80fa9943aa92420d6aed0835747c9a5584469afeb",
)
).decode("utf-8")

# These defines provide values for commonly undefined symbols. Defining
# these macros increases the number of POJ-104 programs that compile
Expand Down

0 comments on commit 2cd74ff

Please sign in to comment.