Build swift using two threads.