Skip to content

Commit

Permalink
Add symlink for llvm-config
Browse files Browse the repository at this point in the history
  • Loading branch information
aw committed Jan 3, 2023
1 parent 73ec78b commit 0d58918
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1247,6 +1247,7 @@ init = async function() {
await exec.exec('sudo', ['ln', '-s', '/usr/bin/llvm-link-14', '/usr/bin/llvm-link']);
await exec.exec('sudo', ['ln', '-s', '/usr/bin/llc-14', '/usr/bin/llc']);
await exec.exec('sudo', ['ln', '-s', '/usr/bin/opt-14', '/usr/bin/opt']);
await exec.exec('sudo', ['ln', '-s', '/usr/bin/llvm-config-14', '/usr/bin/llvm-config']);
// Download and extract pil21
await exec.exec('curl', ['--http1.1', '-o', 'pil21.tgz', `${pilPath}/pil21.tgz`], {
cwd: '/tmp'
Expand Down
1 change: 1 addition & 0 deletions index.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ init = () ->
await exec.exec('sudo', ['ln', '-s', '/usr/bin/llvm-link-14', '/usr/bin/llvm-link'])
await exec.exec('sudo', ['ln', '-s', '/usr/bin/llc-14', '/usr/bin/llc'])
await exec.exec('sudo', ['ln', '-s', '/usr/bin/opt-14', '/usr/bin/opt'])
await exec.exec('sudo', ['ln', '-s', '/usr/bin/llvm-config-14', '/usr/bin/llvm-config'])

# Download and extract pil21
await exec.exec('curl', ['--http1.1', '-o', 'pil21.tgz', "#{pilPath}/pil21.tgz"], { cwd: '/tmp'})
Expand Down

0 comments on commit 0d58918

Please sign in to comment.