Skip to content

Commit

Permalink
remove target
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaiyu Yang committed Sep 13, 2023
1 parent 8cf4933 commit a93e2f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lakefile.lean
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ target libonnxruntime pkg : FilePath := do

def buildCpp (pkg : Package) (path : FilePath) (deps : List (BuildJob FilePath)) : SchedulerM (BuildJob FilePath) := do
let optLevel := if pkg.buildType == BuildType.release then "-O3" else "-O0"
let flags := #["-fPIC", "-std=c++11", "-stdlib=libc++", "--target=arm64-apple-macos11", optLevel]
let flags := #["-fPIC", "-std=c++11", "-stdlib=libc++", optLevel]
let args := flags ++ #["-I", (← getLeanIncludeDir).toString, "-I", (pkg.buildDir / "include").toString]
let oFile := pkg.buildDir / (path.withExtension "o")
let srcJob ← inputFile <| pkg.dir / path
Expand Down

0 comments on commit a93e2f0

Please sign in to comment.