swiftlang/swift-package-manager

[SR-7982] Swift build forces recompilation with Makefile

Open

#5.353 geöffnet am 12. Juni 2018

Auf GitHub ansehen
 (19 Kommentare) (0 Reaktionen) (1 zugewiesene Person)Swift (1.462 Forks)batch import
buggood first issue

Repository-Metriken

Stars
 (10.145 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 9T 13h) (90 gemergte PRs in 30 T)

Beschreibung

Previous ID SR-7982
Radar rdar://problem/37440217
Original Reporter andreasw (JIRA User)
Type Bug

Ubuntu 18.04, Swift 4.2 dev.

Votes 0
Component/s Compiler, Package Manager
Labels Bug, Driver, StarterBug
Assignee None
Priority Medium

md5: b246f9ef9446cfcc35be81e5733a0227

Issue Description:

I have a simple Makefile for building:

build:

    swift build

After typing "make" the expected happens, the swift file is compiled.

After a second "make" the expected happens again, nothing is compiled.

Opening vim and typing ":make" I expected that nothing happens but the file is recompiled.

After a second ":make" in vim this time the expected happens again and nothing is compiled.

But if you close vim and type "make" again, the file has to be compiled again.

Contributor Guide