Skip to content

Commit

Permalink
revert constant name
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-j authored and PMunch committed Mar 28, 2023
1 parent f67e133 commit 2c69eec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/futhark.nim
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const
futharkRebuild = defined(futharkRebuild) or opirRebuild
preAnsiFuncDecl = defined(preAnsiFuncDecl)
echoForwards = defined(echoForwards)
futharkVersion = block:
VERSION = block:
# source style, go up one dir
var nimblePath = currentSourcePath().parentDir().parentDir() / "futhark.nimble"
if not fileExists(nimblePath):
Expand Down Expand Up @@ -584,7 +584,7 @@ macro importcImpl*(defs, outputPath: static[string], compilerArguments, files, i
cacheDir = querySetting(nimcacheDir)
fname = cacheDir / "futhark-includes.h"
cmd = "opir " & compilerArguments.join(" ") & " " & fname
opirHash = hash(defs) !& hash(cmd) !& hash(futharkVersion)
opirHash = hash(defs) !& hash(cmd) !& hash(VERSION)
renameCallbackSym = quote: `renameCallback`
opirCallbackSyms = opirCallbacks.mapIt(quote do: `it`)
fullHash = !$(hash(nodeclguards) !& hash(noopaquetypes) !& hash(exportall) !&
Expand Down

0 comments on commit 2c69eec

Please sign in to comment.