Skip to content
项目

关于

F18 is a front-end for Fortran intended to replace the existing front-end in the Flang compiler

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

301 - Moved

F18 is now part of LLVM and it is called Flang in the LLVM repository.

The code from this repository can now be found at https://github.com/llvm/llvm-project/tree/main/flang/

Migration

If you have a local fork of this repository or pull-requests that need to be migrated to the LLVM monorepo, the following recipe may help you:

# From your local F18 clone:
$ git clone https://github.com/newren/git-filter-repo /tmp/git-filter-repo
$ /tmp/git-filter-repo/git-filter-repo --path-rename :flang/ --force  --message-callback 'return re.sub(b"(#[0-9]+)", b"flang-compiler/f18\\1", message)' --refs <branch name>

After this, all the commits from the previous upstream F18 should match the ones in the monorepo now. If you don't provide the --refs option, this will rewrite all the branches in your repo.

From there you should be able to rebase any of your branch/commits on top of the LLVM monorepo:

$ git remote set-url origin [email protected]:llvm/llvm-project.git
$ git fetch origin
$ git rebase origin/main -i

Cherry-picking commits should also work, if you checkout the main branch from the monorepo you can git cherry-pick <sha1> from your (rewritten) branches.

You can also export patches with git format-patch <range> and re-apply it on the monorepo using git am <patch file>.

探索相关项目

加载中…