diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | fpm/src/fpm/manifest.f90 | 2 | ||||
-rw-r--r-- | fpm/src/fpm_backend.f90 | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -96,7 +96,7 @@ $ fpm test Finally, install the Fortran *fpm* version with ```bash -$ fpm run --runner cp -- ~/.local/bin +$ fpm run --runner mv -- ~/.local/bin ``` Or choose another location if you do not want to overwrite the bootstrapping version. diff --git a/fpm/src/fpm/manifest.f90 b/fpm/src/fpm/manifest.f90 index 7e80b29..5a8f595 100644 --- a/fpm/src/fpm/manifest.f90 +++ b/fpm/src/fpm/manifest.f90 @@ -154,7 +154,7 @@ contains ! Populate example in case we find the default example directory if (.not.allocated(package%example) .and. & - exists(join_path("example","main.f90"))) then + & exists(join_path(root, "example", "main.f90"))) then allocate(package%example(1)) call default_example(package%example(1), package%name) endif diff --git a/fpm/src/fpm_backend.f90 b/fpm/src/fpm_backend.f90 index ab8d9c5..9d22e25 100644 --- a/fpm/src/fpm_backend.f90 +++ b/fpm/src/fpm_backend.f90 @@ -68,7 +68,7 @@ subroutine build_package(model) do i=1,size(schedule_ptr)-1 ! Build targets in schedule region i - !$omp parallel do default(shared) + !$omp parallel do default(shared) schedule(dynamic,1) do j=schedule_ptr(i),(schedule_ptr(i+1)-1) call build_target(model,queue(j)%ptr) |