Skip to content

Commit

Permalink
update version numbers to reflect pre-release status of Chapel 2.1 (c…
Browse files Browse the repository at this point in the history
…hapel-lang#24646)

This PR updates version numbers to 2.1 (pre-release) for `chpl`,
`chpldoc`, and the website documentation.

This is the corresponding update to the previous PRs that changed the
status from pre-release to release:
- chapel-lang#24588
- chapel-lang#24533

Changes are compared against past PRs doing the same:  

- chapel-lang#24061
~~- chapel-lang#23530

TESTING:

- [x] paratest `[Summary: #Successes = 17162 | #Failures = 0 | #Futures
= 919]`

[reviewed by @ShreyasKhandekar - thanks!]
  • Loading branch information
arezaii authored Mar 18, 2024
2 parents 548e9c1 + 5fafb15 commit 741f1c8
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
# These values will be written to <build_dir>/frontend/include/chpl/config/config.h

set(CHPL_MAJOR_VERSION 2)
set(CHPL_MINOR_VERSION 0)
set(CHPL_MINOR_VERSION 1)
set(CHPL_PATCH_VERSION 0)
set(CHPL_BUILD_VERSION 0)

# Flip this to 'true' when we're ready to roll out a release; then back
# after branching
set(CHPL_OFFICIAL_RELEASE true)
set(CHPL_OFFICIAL_RELEASE false)

### END config.h version value setting - configured_prefix set below ###

Expand Down
2 changes: 1 addition & 1 deletion man/confchpl.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

:Version: 2.0.0
:Version: 2.1.0 pre-release
:Manual section: 1
:Title: \\fBchpl\\fP
:Subtitle: Compiler for the Chapel Programming Language
2 changes: 1 addition & 1 deletion man/confchpldoc.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

:Version: 2.0.0
:Version: 2.1.0 pre-release
:Manual section: 1
:Title: \\fBchpldoc\\fP
:Subtitle: the Chapel Documentation Tool
6 changes: 3 additions & 3 deletions test/chpldoc/compflags/combinations/versionhelp-chpldoc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ compiler=$3
echo -n `basename $compiler`
cat $CWD/../../../compflags/bradc/printstuff/version.goodstart
# During pre-release mode
# diff $CWD/../../../../compiler/main/BUILD_VERSION $CWD/zero.txt > /dev/null 2>&1 && echo "" || \
# { echo -n " pre-release (" && cat $CWD/../../../../compiler/main/BUILD_VERSION | tr -d \"\\n && echo ")" ; }
diff $CWD/../../../../compiler/main/BUILD_VERSION $CWD/zero.txt > /dev/null 2>&1 && echo "" || \
{ echo -n " pre-release (" && cat $CWD/../../../../compiler/main/BUILD_VERSION | tr -d \"\\n && echo ")" ; }
# During release mode:
echo ""
# echo ""
2 changes: 1 addition & 1 deletion test/compflags/bradc/printstuff/version.goodstart
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version 2.0.0
version 2.1.0
6 changes: 3 additions & 3 deletions test/compflags/bradc/printstuff/versionhelp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ compiler=$3
echo -n `basename $compiler`
cat $CWD/version.goodstart
# During pre-release mode
# diff $CWD/../../../../compiler/main/BUILD_VERSION $CWD/zero.txt > /dev/null 2>&1 && echo "" || \
# { echo -n " pre-release (" && cat $CWD/../../../../compiler/main/BUILD_VERSION | tr -d \"\\n && echo ")" ; }
diff $CWD/../../../../compiler/main/BUILD_VERSION $CWD/zero.txt > /dev/null 2>&1 && echo "" || \
{ echo -n " pre-release (" && cat $CWD/../../../../compiler/main/BUILD_VERSION | tr -d \"\\n && echo ")" ; }
# During release mode:
echo ""
# echo ""

if [ "$CHPL_LLVM" != "none" ]
then
Expand Down

0 comments on commit 741f1c8

Please sign in to comment.